dead_code_tests: add skip multiple lambda args test

This commit is contained in:
Markus Napierkowski 2023-04-18 13:36:25 +02:00
parent 003814af6f
commit 6fbd5a2c44

View File

@ -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 = "