mirror of
https://github.com/astro/deadnix.git
synced 2024-11-24 09:12:50 +03:00
dead_code_tests: add skip multiple lambda args test
This commit is contained in:
parent
003814af6f
commit
6fbd5a2c44
@ -287,6 +287,16 @@ alive
|
||||
assert_eq!(results[0].binding.name.to_string(), "dead2");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn skip_multiple_lambda_args() {
|
||||
let results = run("
|
||||
# deadnix: skip
|
||||
dead1: dead2:
|
||||
alive
|
||||
");
|
||||
assert_eq!(0, results.len());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn shadowed_by_skip() {
|
||||
let nix = "
|
||||
|
Loading…
Reference in New Issue
Block a user