mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #2903 from jtracey/ls-test-clippy
ls: fix clippy lints in tests
This commit is contained in:
commit
f1dde86f9b
1 changed files with 2 additions and 3 deletions
|
@ -2562,7 +2562,7 @@ fn test_ls_context2() {
|
||||||
ts.ucmd()
|
ts.ucmd()
|
||||||
.args(&[c_flag, &"/"])
|
.args(&[c_flag, &"/"])
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_only(unwrap_or_return!(expected_result(&ts, &[c_flag, &"/"])).stdout_str());
|
.stdout_only(unwrap_or_return!(expected_result(&ts, &[c_flag, "/"])).stdout_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2592,8 +2592,7 @@ fn test_ls_context_format() {
|
||||||
.args(&[&"-Z", &format.as_str(), &"/"])
|
.args(&[&"-Z", &format.as_str(), &"/"])
|
||||||
.succeeds()
|
.succeeds()
|
||||||
.stdout_only(
|
.stdout_only(
|
||||||
unwrap_or_return!(expected_result(&ts, &[&"-Z", &format.as_str(), &"/"]))
|
unwrap_or_return!(expected_result(&ts, &["-Z", format.as_str(), "/"])).stdout_str(),
|
||||||
.stdout_str(),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue