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

tests/expr: add test expr 1 \| a / 5

This commit is contained in:
Zhuoxun Yang 2023-10-06 23:50:44 +08:00
parent 2c2e01205c
commit 5a732dd21a

View file

@ -123,6 +123,11 @@ fn test_or() {
.args(&["-14", "|", "1"])
.succeeds()
.stdout_only("-14\n");
new_ucmd!()
.args(&["1", "|", "a", "/", "5"])
.succeeds()
.stdout_only("1\n");
}
#[test]