Skip to content

Commit b6fb1b6

Browse files
committed
fix
1 parent 05f0d5a commit b6fb1b6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

crates/compilers/tests/project.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4088,8 +4088,12 @@ contract SimpleContract {}
40884088

40894089
output.assert_success();
40904090

4091-
let artifacts =
4092-
output.artifact_ids().map(|(id, _)| (id.profile, id.source)).collect::<Vec<_>>();
4091+
let artifacts = output
4092+
.artifact_ids()
4093+
.map(|(id, _)| (id.profile, id.source))
4094+
.collect::<BTreeSet<_>>()
4095+
.into_iter()
4096+
.collect::<Vec<_>>();
40934097

40944098
assert_eq!(
40954099
artifacts,
@@ -4098,7 +4102,7 @@ contract SimpleContract {}
40984102
("cancun".to_string(), cancun_importer_path),
40994103
("cancun".to_string(), common_path.clone()),
41004104
("default".to_string(), common_path),
4101-
("default".to_string(), simple_path)
4105+
("default".to_string(), simple_path),
41024106
]
41034107
);
41044108
}

0 commit comments

Comments
 (0)