mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Fix warning when executing Clippy
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user