Improve patch application test

This commit is contained in:
Lucien Greathouse
2019-09-30 17:22:54 -07:00
parent 0a1fa9588f
commit b2fc6c165b
3 changed files with 62 additions and 12 deletions

View File

@@ -0,0 +1,12 @@
---
source: src/snapshot/tests/apply.rs
expression: applied_patch_value
---
removed: []
added: []
updated:
- id: id-1
changed_name: "Hello, world!"
changed_class_name: Folder
changed_properties: {}
changed_metadata: ~

View File

@@ -1,12 +1,13 @@
---
source: src/snapshot/tests/apply.rs
expression: applied_patch_value
expression: tree_value
---
removed: []
added: []
updated:
- id: id-1
changed_name: "Hello, world!"
changed_class_name: Folder
changed_properties: {}
changed_metadata: ~
id: id-1
name: "Hello, world!"
class_name: Folder
properties: {}
metadata:
ignore_unknown_instances: false
source_path: ~
project_node: ~
children: []