Skip to content

Commit a0872d7

Browse files
committed
fix
1 parent 5f2627d commit a0872d7

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
@@ -4087,8 +4087,12 @@ contract SimpleContract {}
40874087

40884088
output.assert_success();
40894089

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

40934097
assert_eq!(
40944098
artifacts,
@@ -4097,7 +4101,7 @@ contract SimpleContract {}
40974101
("cancun".to_string(), cancun_importer_path),
40984102
("cancun".to_string(), common_path.clone()),
40994103
("default".to_string(), common_path),
4100-
("default".to_string(), simple_path)
4104+
("default".to_string(), simple_path),
41014105
]
41024106
);
41034107
}

0 commit comments

Comments
 (0)