From d7f946eecf27448c19f84ed69024840af56436ed Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 4 Apr 2022 16:47:11 -0500 Subject: clean up whitespace in tests --- tests/assertions.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/assertions.c') 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!"; -- cgit v1.2.1