File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -241,6 +241,7 @@ function test_coverage_is_executable_line_returns_false_for_done_with_file_redir
241241
242242function test_coverage_is_executable_line_returns_false_for_done_with_herestring() {
243243 local result
244+ # shellcheck disable=SC2016
244245 result=$( bashunit::coverage::is_executable_line ' done <<<"$var"' 2 && echo " yes" || echo " no" )
245246 assert_equals " no" " $result "
246247}
@@ -253,6 +254,7 @@ function test_coverage_is_executable_line_returns_false_for_done_with_process_su
253254
254255function test_coverage_is_executable_line_returns_false_for_done_with_redirect_and_comment() {
255256 local result
257+ # shellcheck disable=SC2016
256258 result=$( bashunit::coverage::is_executable_line ' done < "$file" # read input' 2 && echo " yes" || echo " no" )
257259 assert_equals " no" " $result "
258260}
You can’t perform that action at this time.
0 commit comments