mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #845 from peschkaj/master
Basic implementation of ls
This commit is contained in:
commit
1fafde8c27
7 changed files with 290 additions and 0 deletions
16
tests/ls.rs
Normal file
16
tests/ls.rs
Normal file
|
@ -0,0 +1,16 @@
|
|||
#[macro_use]
|
||||
mod common;
|
||||
|
||||
use common::util::*;
|
||||
|
||||
static UTIL_NAME: &'static str = "ls";
|
||||
|
||||
#[test]
|
||||
fn test_ls_ls() {
|
||||
let (at, mut ucmd) = testing(UTIL_NAME);
|
||||
|
||||
let result = ucmd.run();
|
||||
|
||||
let exit_success = result.success;
|
||||
assert_eq!(exit_success, true);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue