Add ServeSession test for changing text file

This commit is contained in:
Lucien Greathouse
2019-10-07 18:23:39 -07:00
parent 7b82e3d641
commit ffc146ff9b
3 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
---
source: src/serve_session.rs
expression: "view_tree(&session.tree(), &mut redactions)"
---
id: id-1
name: foo
class_name: StringValue
properties:
Value:
Type: String
Value: World!
metadata:
ignore_unknown_instances: false
instigating_source:
Path: /foo.txt
relevant_paths:
- /foo.txt
children: []

View File

@@ -0,0 +1,18 @@
---
source: src/serve_session.rs
expression: "view_tree(&session.tree(), &mut redactions)"
---
id: id-1
name: foo
class_name: StringValue
properties:
Value:
Type: String
Value: Hello!
metadata:
ignore_unknown_instances: false
instigating_source:
Path: /foo.txt
relevant_paths:
- /foo.txt
children: []