Skip to content

Commit

Permalink
fix: incorrect test after API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRustifyer committed Aug 25, 2024
1 parent 648226f commit 7690800
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions zork++/src/lib/domain/commands/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,21 +362,19 @@ pub mod clang_args {
assert_eq!(

Check failure on line 362 in zork++/src/lib/domain/commands/arguments.rs

View workflow job for this annotation

GitHub Actions / Verify code formatting

Diff in /home/runner/work/Zork/Zork/zork++/src/lib/domain/commands/arguments.rs
args,
Arguments::from_vec(vec![
"-fmodule-file=math.numbers=out/clang/modules/interfaces/math.pcm".into()
"-fmodule-file=math.numbers=out/clang/modules/interfaces/math.numbers.pcm".into()
])
);

// clearing the mut val

super::add_direct_module_interfaces_dependencies(
let args = super::add_direct_module_interfaces_dependencies(
&[Cow::Borrowed("math.numbers")],
Path::new("out"),
15,
);
assert_eq!(
args,
Arguments::from_vec(vec![
"-fmodule-file=out/clang/modules/interfaces/math.pcm".into()
"-fmodule-file=out/clang/modules/interfaces/math.numbers.pcm".into()
])
)
}
Expand Down

0 comments on commit 7690800

Please sign in to comment.