Skip to content

Commit 4f9e375

Browse files
author
Borja Munoz Fernandez
committed
update test
1 parent 080280a commit 4f9e375

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
@@ -1588,11 +1588,11 @@ mod test {
15881588
let args = ovec!["arg1", "arg2", "arg3"];
15891589
let mut args_with_non_hashable: Vec<OsString> = NON_HASHABLE_ARGS
15901590
.iter()
1591-
.map(|s| OsString::from(s))
1591+
.map(OsString::from)
15921592
.collect();
15931593

15941594
args_with_non_hashable.extend(args.clone());
1595-
assert_neq!(
1595+
assert_eq!(
15961596
hash_key(digest, Language::C, &args, &[], &[], PREPROCESSED, false),
15971597
hash_key(
15981598
digest,

0 commit comments

Comments
 (0)