mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Add stage_paths field to PatchSet struct in tests
- Introduced a new field, `stage_paths`, to the `PatchSet` struct in `patch_compute.rs` to track filesystem paths for staging. - Updated test cases to initialize `stage_paths` alongside other fields, ensuring consistency in patch set creation. These changes enhance the testing framework by providing additional context for staged paths in patch sets.
This commit is contained in:
parent
6de088be31
commit
a59d9d497a
2 changed files with 3 additions and 1 deletions
|
|
@ -348,6 +348,7 @@ mod test {
|
|||
added_instances: Vec::new(),
|
||||
removed_instances: Vec::new(),
|
||||
stage_ids: std::collections::HashSet::new(),
|
||||
stage_paths: Vec::new(),
|
||||
};
|
||||
|
||||
assert_eq!(patch_set, expected_patch_set);
|
||||
|
|
@ -399,6 +400,7 @@ mod test {
|
|||
updated_instances: Vec::new(),
|
||||
removed_instances: Vec::new(),
|
||||
stage_ids: std::collections::HashSet::new(),
|
||||
stage_paths: Vec::new(),
|
||||
};
|
||||
|
||||
assert_eq!(patch_set, expected_patch_set);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue