forked from rojo-rbx/rojo
Add ServeSession test for changing text file
This commit is contained in:
18
src/snapshots/serve_session__change_txt_file-2.snap
Normal file
18
src/snapshots/serve_session__change_txt_file-2.snap
Normal 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: []
|
||||
18
src/snapshots/serve_session__change_txt_file.snap
Normal file
18
src/snapshots/serve_session__change_txt_file.snap
Normal 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: []
|
||||
Reference in New Issue
Block a user