Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Fix tests (#5602)
Browse files Browse the repository at this point in the history
Summary:
[packer] Fix tests

Tests broke recently: https://github.com/facebook/flipper/actions/runs/8943237349/job/24567505699

Pull Request resolved: #5602

Test Plan:
```
$ cargo test
running 4 tests
Computing manifest      ▕████████████████████▏
test test::test_included_packlist_parses ... ok
test tarsum::test::test_nested_archive_tarsum ... ok
test tarsum::test::test_differently_ordered_archives ... ok
Computing manifest      ▕████████████████████▏
test test::test_manifest ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
```

Reviewed By: lblasa

Differential Revision: D57045431

Pulled By: passy

fbshipit-source-id: 84bf5fb78d94ad4dadc24710cbdbcd55a1b1c699
  • Loading branch information
passy authored and facebook-github-bot committed May 7, 2024
1 parent 6cfcf17 commit 958638c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ mod test {
fn test_included_packlist_parses() {
let res: PackList =
serde_yaml::from_str(DEFAULT_PACKLIST).expect("Default packlist doesn't deserialize");
assert_eq!(res.0.len(), 4);
assert_eq!(res.0.len(), 6);
}

#[test]
Expand Down

0 comments on commit 958638c

Please sign in to comment.