diff options
Diffstat (limited to 'tests/by-util/test_paste.rs')
-rw-r--r-- | tests/by-util/test_paste.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/by-util/test_paste.rs b/tests/by-util/test_paste.rs index 0fbdb75d2..f39193094 100644 --- a/tests/by-util/test_paste.rs +++ b/tests/by-util/test_paste.rs @@ -167,9 +167,9 @@ fn test_delimiter_list_ending_with_escaped_backslash() { for d in ["-d", "--delimiters"] { let (at, mut ucmd) = at_and_ucmd!(); let mut ins = vec![]; - for (i, _in) in ["a\n", "b\n"].iter().enumerate() { + for (i, one_in) in ["a\n", "b\n"].iter().enumerate() { let file = format!("in{}", i); - at.write(&file, _in); + at.write(&file, one_in); ins.push(file); } ucmd.args(&[d, "\\\\"]) @@ -198,9 +198,9 @@ fn test_data() { for example in EXAMPLE_DATA { let (at, mut ucmd) = at_and_ucmd!(); let mut ins = vec![]; - for (i, _in) in example.ins.iter().enumerate() { + for (i, one_in) in example.ins.iter().enumerate() { let file = format!("in{i}"); - at.write(&file, _in); + at.write(&file, one_in); ins.push(file); } println!("{}", example.name); |