diff --git a/tests/test_more.rs b/tests/test_more.rs new file mode 100644 index 000000000..9d4835769 --- /dev/null +++ b/tests/test_more.rs @@ -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); +} diff --git a/tests/tests.rs b/tests/tests.rs index ead3b68f9..a99c7cc26 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -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;