Fix newline bug
This commit is contained in:
parent
274a146175
commit
2ba591635c
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
source ../zk
|
||||||
|
}
|
||||||
|
|
||||||
|
test_get_command_returns_list_for_substring() {
|
||||||
|
expected="list"
|
||||||
|
|
||||||
|
for arg in l li lis list; do
|
||||||
|
result="$(get_command "$arg")"
|
||||||
|
assert_equals "$expected" "$result"
|
||||||
|
done
|
||||||
|
}
|
Loading…
Reference in New Issue