diff options
author | sanine <sanine.not@pm.me> | 2022-04-04 16:47:11 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-04-04 16:47:11 -0500 |
commit | d7f946eecf27448c19f84ed69024840af56436ed (patch) | |
tree | 0a8fe84340d4055e3ad53db18c60fc8dffb26319 /tests/assertions.c | |
parent | f133f0a424db19dd3263794e8fa71ea920ef3ea9 (diff) |
clean up whitespace in tests
Diffstat (limited to 'tests/assertions.c')
-rw-r--r-- | tests/assertions.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/assertions.c b/tests/assertions.c index fa7e82d..0e14a2b 100644 --- a/tests/assertions.c +++ b/tests/assertions.c @@ -30,7 +30,7 @@ const char *test_assert_msg() _lily_globals.error_msg = NULL; _lily_globals.error_location = ""; val = setjmp(_lily_globals.env); - + if (passed_thru == 0) { passed_thru = 1; // another line that you SHOULD NOT MOVE! @@ -110,7 +110,7 @@ const char *test_assert_false() const char *test_assert_not_null() { int a = 5; - + int val = setjmp(_lily_globals.env); if (val != 0) return "true assertion failed incorrectly!"; @@ -123,7 +123,7 @@ const char *test_assert_not_null() val = setjmp(_lily_globals.env); int *ptr = NULL; - + if (passed_thru == 0) { passed_thru = 1; lily_assert_not_null(ptr); @@ -143,7 +143,7 @@ const char *test_assert_null() { int a = 5; int *ptr = NULL; - + int val = setjmp(_lily_globals.env); if (val != 0) return "true assertion failed incorrectly!"; @@ -177,7 +177,7 @@ const char *test_assert_ptr_equal() int a = 0; int b = 0; int *ptr = &a; - + int val = setjmp(_lily_globals.env); if (val != 0) return "true assertion failed incorrectly!"; @@ -212,7 +212,7 @@ const char *test_assert_ptr_not_equal() int a = 0; int b = 0; int *ptr = &b; - + int val = setjmp(_lily_globals.env); if (val != 0) return "true assertion failed incorrectly!"; |