15 lines
215 B
Bash
15 lines
215 B
Bash
|
#!/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
|
||
|
}
|