Skip to content

Commit

Permalink
Add test for project files that represent middleware with special pro…
Browse files Browse the repository at this point in the history
…perties
  • Loading branch information
Dekkonot committed May 2, 2024
1 parent b9754c6 commit fb9e737
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
source: tests/rojo_test/syncback_util.rs
assertion_line: 48
expression: "visualize_fs_snapshot(&fs_snapshot, &output_path)"
---
added_files:
- default.project.json
- string_value.txt
added_dirs: []
removed_files: []
removed_dirs: []

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "string_value_project",
"tree": {
"$className": "DataModel",
"ReplicatedStorage": {
"inside_project_file": {
"$className": "StringValue",
"$properties": {
"Value": "imgettingverytiredofwritingthesetests2"
}
},
"on_file_system": {
"$attributes": {
"imgettingverytiredofwritingthesetests": "person299 was ahead of his time"
},
"$path": "string_value.txt"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shout out to the brown bug anthology in person299's admin commands
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "string_value_project",
"tree": {
"$className": "DataModel",
"ReplicatedStorage": {
"on_file_system": {
"$path": "string_value.txt"
},
"inside_project_file": {
"$className": "StringValue"
}
}
}
}
Empty file.
1 change: 1 addition & 0 deletions tests/tests/syncback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ syncback_basic_test! {
project_reserialize,
project_all_middleware,
duplicate_rojo_id,
string_value_project,
}

0 comments on commit fb9e737

Please sign in to comment.