1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

test(more): add a test for more when called without arg

This commit is contained in:
Sylvestre Ledru 2020-05-11 10:44:12 +02:00 committed by Roy Ivy III
parent 80203a7a02
commit 62901490e1
2 changed files with 9 additions and 0 deletions

8
tests/test_more.rs Normal file
View file

@ -0,0 +1,8 @@
use common::util::*;
#[test]
fn test_more_no_arg() {
let (_, mut ucmd) = at_and_ucmd!();
let result = ucmd.run();
assert!(!result.success);
}

View file

@ -75,6 +75,7 @@ generic! {
"ls", test_ls;
"mkdir", test_mkdir;
"mktemp", test_mktemp;
"more", test_more;
"mv", test_mv;
"numfmt", test_numfmt;
"nl", test_nl;