fixing comment
This commit is contained in:
parent
adf285d723
commit
6d33998dc9
@ -157,7 +157,7 @@ run_test() {
|
|||||||
STATUS=0
|
STATUS=0
|
||||||
|
|
||||||
# Main loop to run all test cases
|
# Main loop to run all test cases
|
||||||
num_tests=$((${#tests[@]} / 3)) # Divide by 2 because each test has input/output pair
|
num_tests=$((${#tests[@]} / 3)) # Divide by 2 because each test has name/input/output trio
|
||||||
for ((i = 0; i < num_tests; i++)); do
|
for ((i = 0; i < num_tests; i++)); do
|
||||||
input="${tests[i * 3 + 1]}"
|
input="${tests[i * 3 + 1]}"
|
||||||
expected="${tests[i * 3 + 2]}"
|
expected="${tests[i * 3 + 2]}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user