mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Refactor test assertions and improve code formatting
- Simplified test assertions in `fs_snapshot.rs` and `ref_properties.rs` for better readability by removing unnecessary line breaks. - Enhanced the formatting of code in `rojo_ref.rs` to maintain consistency and improve clarity. These changes improve the overall readability and maintainability of the test code and related implementations.
This commit is contained in:
parent
a741f573a4
commit
d6169c6d84
3 changed files with 11 additions and 13 deletions
|
|
@ -744,9 +744,7 @@ mod tests {
|
|||
"Attachment1 wrong. Got:\n{result}"
|
||||
);
|
||||
assert!(
|
||||
result.contains(
|
||||
r#""Rojo_Ref_PrimaryPart": "Workspace/Model/Handle.model.json5""#
|
||||
),
|
||||
result.contains(r#""Rojo_Ref_PrimaryPart": "Workspace/Model/Handle.model.json5""#),
|
||||
"PrimaryPart wrong. Got:\n{result}"
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue