diff --git a/test/ns/test-@::-multi.sh b/test/ns/test-@::-multi.sh index 71163fe..eec1d81 100644 --- a/test/ns/test-@::-multi.sh +++ b/test/ns/test-@::-multi.sh @@ -44,12 +44,12 @@ foo::bar::baz::next() foo::bar::baz::try "${expected[@]}" set -- "${given[@]}" -test $# -eq "${#expected[@]}" +assert $# -eq "${#expected[@]}" # all arguments should be passed, properly quoted declare -i i=0 while true; do - test "$1" == "${expected[i]}" + assert "$1" == "${expected[i]}" shift || break ((++i)) done diff --git a/test/ns/test-@::-nons.sh b/test/ns/test-@::-nons.sh index 07b5988..02171d0 100644 --- a/test/ns/test-@::-nons.sh +++ b/test/ns/test-@::-nons.sh @@ -44,12 +44,12 @@ next() try "${expected[@]}" set -- "${given[@]}" -test $# -eq "${#expected[@]}" +assert $# -eq "${#expected[@]}" # all arguments should be passed, properly quoted declare -i i=0 while true; do - test "$1" == "${expected[i]}" + assert "$1" == "${expected[i]}" shift || break ((++i)) done