misc: cleanup

This commit is contained in:
Dylan Araps
2018-06-14 20:30:27 +10:00
parent d9aa2f2a97
commit 1032d283d0

View File

@@ -48,6 +48,7 @@ test_remove_array_dups() {
}
test_cycle() {
# shellcheck disable=2034
arr=(a b c d)
result="$(cycle; cycle; cycle)"
assert_equals "$result" "a b c "
@@ -99,7 +100,6 @@ test_date() {
assert_equals() {
local status
((tests+=1))
[[ "$1" == "$2" ]] && status="✔"