Skip to content

Commit 9d0e6e9

Browse files
Andy StokelyAndy Stokely
authored andcommitted
Removed call to mpas_log_write in assert utils when the assertion is positive.
1 parent 931e029 commit 9d0e6e9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/core_test/mpas_test_core_timekeeping_tests.F

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ subroutine assert_true(condition, message, status)
158158
integer, intent(out) :: status
159159

160160
if (condition) then
161-
call mpas_log_write('PASS: ' // trim(message))
162161
status = 0
163162
else
164163
call mpas_log_write('FAIL: ' // trim(message))
@@ -192,7 +191,6 @@ subroutine assert_false(condition, message, status)
192191
integer, intent(out) :: status
193192

194193
if (.not. condition) then
195-
call mpas_log_write('PASS: ' // trim(message))
196194
status = 0
197195
else
198196
call mpas_log_write('FAIL: ' // trim(message))

0 commit comments

Comments
 (0)