mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Add ServeSession test for changing text file
This commit is contained in:
parent
7b82e3d641
commit
ffc146ff9b
3 changed files with 61 additions and 1 deletions
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: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue