First round of snapshot tests for patch_compute

This commit is contained in:
Lucien Greathouse
2019-09-30 17:00:12 -07:00
parent 3678ddfa36
commit b512e707a5
9 changed files with 128 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
---
source: src/snapshot/tests/compute.rs
expression: patch_value
---
removed_instances: []
added_instances: []
updated_instances:
- id: id-1
changed_name: ~
changed_class_name: ~
changed_properties:
Foo: ~
changed_metadata: ~

View File

@@ -0,0 +1,12 @@
---
source: src/snapshot/tests/compute.rs
expression: patch_value
---
removed_instances: []
added_instances: []
updated_instances:
- id: id-1
changed_name: Some Folder
changed_class_name: Folder
changed_properties: {}
changed_metadata: ~

View File

@@ -0,0 +1,15 @@
---
source: src/snapshot/tests/compute.rs
expression: patch_value
---
removed_instances: []
added_instances: []
updated_instances:
- id: id-1
changed_name: ~
changed_class_name: ~
changed_properties:
PropertyName:
Type: String
Value: "Hello, world!"
changed_metadata: ~