Skip to content

Commit

Permalink
fix(compiler):fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
limuy2022 committed Apr 19, 2024
1 parent cae28a5 commit a111099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ mod test {
let data = link(datas.iter_mut());
assert_eq!(data.constpool.intpool, vec![0, 1, 2, 4, 8, 10]);
assert_eq!(
data.dll_module_should_loaded,
vec!["test.dll2".to_string(), "test.dll".to_string()]
HashSet::<String>::from_iter(data.dll_module_should_loaded.into_iter()),
HashSet::from_iter(vec!["test.dll2".to_string(), "test.dll".to_string()].into_iter())
);
assert_eq!(
data.inst,
Expand Down

0 comments on commit a111099

Please sign in to comment.