Skip to content

Commit 6cb114f

Browse files
Borja Munoz Fernandezsylvestre
authored andcommitted
update test
1 parent 0be0c58 commit 6cb114f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/c.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,11 +1597,11 @@ mod test {
15971597
let args = ovec!["arg1", "arg2", "arg3"];
15981598
let mut args_with_non_hashable: Vec<OsString> = NON_HASHABLE_ARGS
15991599
.iter()
1600-
.map(|s| OsString::from(s))
1600+
.map(OsString::from)
16011601
.collect();
16021602

16031603
args_with_non_hashable.extend(args.clone());
1604-
assert_neq!(
1604+
assert_eq!(
16051605
hash_key(digest, Language::C, &args, &[], &[], PREPROCESSED, false),
16061606
hash_key(
16071607
digest,

0 commit comments

Comments
 (0)