mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests ~ reorganize tests
This commit is contained in:
parent
1c88bc8c45
commit
de0375f909
75 changed files with 0 additions and 0 deletions
19
tests/by-util/test_ls.rs
Normal file
19
tests/by-util/test_ls.rs
Normal file
|
@ -0,0 +1,19 @@
|
|||
use crate::common::util::*;
|
||||
|
||||
#[test]
|
||||
fn test_ls_ls() {
|
||||
new_ucmd!().succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ls_ls_i() {
|
||||
new_ucmd!().arg("-i").succeeds();
|
||||
new_ucmd!().arg("-il").succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_ls_ls_color() {
|
||||
new_ucmd!().arg("--color").succeeds();
|
||||
new_ucmd!().arg("--color=always").succeeds();
|
||||
new_ucmd!().arg("--color=never").succeeds();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue