Skip to content

Commit 180ba41

Browse files
Andy StokelyAndy Stokely
authored andcommitted
Updated out of date docstrings for assert utility subroutines.
1 parent 9d0e6e9 commit 180ba41

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/core_test/mpas_test_core_timekeeping_tests.F

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ end subroutine advance_clock_n_times
141141
!> \date 10/28/2025
142142
!> \details
143143
!> Verifies that the provided logical expression evaluates to `.true.`.
144-
!> If the condition is true, a PASS message is logged; otherwise, a FAIL
145-
!> message is logged and the status is set to 1.
144+
!> If the condition is false, a FAIL message is logged and the status
145+
! is set to 1.
146146
!>
147147
!> This routine is used throughout test cases to simplify repetitive
148148
!> PASS/FAIL logic and ensure consistent logging and error tracking.
@@ -174,8 +174,8 @@ end subroutine assert_true
174174
!> \date 10/28/2025
175175
!> \details
176176
!> Verifies that the provided logical expression evaluates to `.false.`.
177-
!> If the condition is false, a PASS message is logged; otherwise, a FAIL
178-
!> message is logged and the status is set to 1.
177+
!> If the condition is true, a FAIL message is logged and the status
178+
!> is set to 1.
179179
!>
180180
!> This routine complements `assert_true` and is used when the expected
181181
!> behavior requires a logical expression to remain false.
@@ -572,6 +572,7 @@ integer function mpas_window_alarm_tests() result(ierr)
572572
integer :: i, ierr_local
573573

574574
ierr = 0
575+
call mpas_log_write('Running 18 window alarm tests')
575576
do i = 1, 18
576577
ierr_local = 0
577578
call test_window_alarm(i, ierr_local)

0 commit comments

Comments
 (0)