File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,16 @@ function test_unsuccessful_fail() {
1010 " $( fail " Failure message" ) "
1111}
1212
13+ # data_provider provider_successful_assert_true
1314function test_successful_assert_true() {
14- assert_empty " $( assert_true true) "
15+ # shellcheck disable=SC2086
16+ assert_empty " $( assert_true $1 ) "
17+ }
18+
19+ function provider_successful_assert_true() {
20+ echo true
21+ echo " true"
22+ echo 0
1523}
1624
1725function test_unsuccessful_assert_true() {
@@ -20,8 +28,16 @@ function test_unsuccessful_assert_true() {
2028 " $( assert_true false) "
2129}
2230
31+ # data_provider provider_successful_assert_false
2332function test_successful_assert_false() {
24- assert_empty " $( assert_false false) "
33+ # shellcheck disable=SC2086
34+ assert_empty " $( assert_false $1 ) "
35+ }
36+
37+ function provider_successful_assert_false() {
38+ echo false
39+ echo " false"
40+ echo 1
2541}
2642
2743function test_unsuccessful_assert_false() {
You can’t perform that action at this time.
0 commit comments