Skip to content

Commit d63c5ab

Browse files
committed
Remove unneeded (new) function
1 parent 7b51634 commit d63c5ab

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

submit/assert.bash

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,6 @@ assert_partial() {
5454
fail "$expected"
5555
}
5656

57-
refute_partial() {
58-
local -r unexpected="$1"
59-
for (( idx = 0; idx < ${#lines[@]}; ++idx )); do
60-
if [[ ${lines[$idx]} == *"$unexpected"* ]]; then
61-
echo "Unexpected string '$unexpected' found."
62-
return 1
63-
fi
64-
done
65-
return 0
66-
}
67-
6857
assert_success() {
6958
if (( status != 0 )); then
7059
echo "Expected success, status=$status."

0 commit comments

Comments
 (0)