Skip to content

Commit fbdfd7d

Browse files
committed
fix typos
1 parent d2f12e2 commit fbdfd7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tests/jf_test_15.F90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ subroutine test_15(error_cnt)
5454
call json%get(p2,'real', tf)
5555

5656
call json%check_for_errors(status_ok, error_msg) !error condition true
57-
call json%check_for_errors(status_ok) !error condition true
58-
call json%check_for_errors(error_msg) !error condition true
57+
call json%check_for_errors(status_ok) !error condition true
58+
call json%check_for_errors(error_msg=error_msg) !error condition true
5959

6060
call json%initialize(print_signs=.true.) !print signs flag
6161

6262
call json%check_for_errors(status_ok, error_msg) !error condition false
63-
call json%check_for_errors(status_ok) !error condition false
64-
call json%check_for_errors(error_msg) !error condition false - not allocated
63+
call json%check_for_errors(status_ok) !error condition false
64+
call json%check_for_errors(error_msg=error_msg) !error condition false - not allocated
6565

6666
call file1%move(file2) !should throw an exception since points are not associated
6767
call file1%initialize()

0 commit comments

Comments
 (0)