Skip to content

Commit

Permalink
fix unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhy committed Jan 2, 2025
1 parent 730e11c commit c209369
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/utils/extern_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,11 @@ mod test {
ea.parse_response("leptos_book", &test_str)?;

let args = ea.get_args();
assert_eq!(20, args.len());

assert_eq!(ea.edition, "2021");
assert_eq!(ea.crate_name, "leptos_book");

assert_eq!(18, args.len());

assert_eq!(1, args.iter().filter(|i| *i == "-L").count());
assert_eq!(8, args.iter().filter(|i| *i == "--extern").count());
Expand Down

0 comments on commit c209369

Please sign in to comment.