Skip to content

Commit

Permalink
rust: update test_case crate
Browse files Browse the repository at this point in the history
fixes unused_unit

warning: unneeded unit expression
   --> src/bittorrent_dht/parser.rs:590:5
    |
590 | /     #[test_case(
591 | |         b"",
592 | |         "Error: discovered Dict but expected EOF" ;
593 | |         "test parse bittorrent dht packet err 1"
594 | |     )]
    | |______^
  • Loading branch information
catenacyber authored and victorjulien committed Jan 15, 2024
1 parent bedd485 commit 6896a93
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
32 changes: 26 additions & 6 deletions rust/Cargo.lock.in

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ time = "=0.3.13"
suricata-derive = { path = "./derive" }

[dev-dependencies]
test-case = "~1.1.0"
test-case = "~3.3.1"
hex = "~0.4.3"

0 comments on commit 6896a93

Please sign in to comment.