mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Fix warning when executing Clippy
This commit is contained in:
parent
e194022c1f
commit
9d1d4cc5f6
2 changed files with 2 additions and 2 deletions
|
@ -278,7 +278,7 @@ fn test_chmod_many_options() {
|
||||||
#[test]
|
#[test]
|
||||||
#[allow(clippy::unreadable_literal)]
|
#[allow(clippy::unreadable_literal)]
|
||||||
fn test_chmod_reference_file() {
|
fn test_chmod_reference_file() {
|
||||||
let tests = vec![
|
let tests = [
|
||||||
TestCase {
|
TestCase {
|
||||||
args: vec!["--reference", REFERENCE_FILE, TEST_FILE],
|
args: vec!["--reference", REFERENCE_FILE, TEST_FILE],
|
||||||
before: 0o100070,
|
before: 0o100070,
|
||||||
|
|
|
@ -98,7 +98,7 @@ fn test_kill_table_lists_all_vertically() {
|
||||||
let signals = command
|
let signals = command
|
||||||
.stdout_str()
|
.stdout_str()
|
||||||
.split('\n')
|
.split('\n')
|
||||||
.flat_map(|line| line.trim().split(" ").nth(1))
|
.flat_map(|line| line.trim().split(' ').nth(1))
|
||||||
.collect::<Vec<&str>>();
|
.collect::<Vec<&str>>();
|
||||||
|
|
||||||
assert!(signals.contains(&"KILL"));
|
assert!(signals.contains(&"KILL"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue