mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
Merge pull request #6246 from bin-ly/main
Fix warning when executing Clippy
This commit is contained in:
commit
57388a9627
2 changed files with 2 additions and 2 deletions
|
@ -278,7 +278,7 @@ fn test_chmod_many_options() {
|
|||
#[test]
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
fn test_chmod_reference_file() {
|
||||
let tests = vec![
|
||||
let tests = [
|
||||
TestCase {
|
||||
args: vec!["--reference", REFERENCE_FILE, TEST_FILE],
|
||||
before: 0o100070,
|
||||
|
|
|
@ -98,7 +98,7 @@ fn test_kill_table_lists_all_vertically() {
|
|||
let signals = command
|
||||
.stdout_str()
|
||||
.split('\n')
|
||||
.flat_map(|line| line.trim().split(" ").nth(1))
|
||||
.flat_map(|line| line.trim().split(' ').nth(1))
|
||||
.collect::<Vec<&str>>();
|
||||
|
||||
assert!(signals.contains(&"KILL"));
|
||||
|
|
Loading…
Reference in a new issue