Skip to content

Commit b4c7d01

Browse files
fix syntax error on bash <5.2
1 parent 59c53c0 commit b4c7d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assert_line.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Did you mean to call \`assert_line\` or \`assert_stderr_line\`?" \
217217
# Arguments.
218218
local -r expected="$1"
219219

220-
if (( is_mode_regexp == 1 )) then
220+
if (( is_mode_regexp == 1 )); then
221221
__check_is_valid_regex "$expected" "$caller" || return 1
222222
fi
223223

0 commit comments

Comments
 (0)