Skip to content

Commit 3b8753c

Browse files
authored
1 parent 6a7558d commit 3b8753c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testlib/TesterMain.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ subroutine write_json_success( test_description )
8080
write(TEST_JSON_FILE_UNIT,*) ' {'
8181
write(TEST_JSON_FILE_UNIT,*) ' "name" : "'//trim(test_info)//'",'
8282
write(TEST_JSON_FILE_UNIT,*) ' "test_code": "'//trim(test_info)//'",'
83-
write(TEST_JSON_FILE_UNIT,*) ' "status" : "pass",'
83+
write(TEST_JSON_FILE_UNIT,*) ' "status" : "pass"'
8484
write(TEST_JSON_FILE_UNIT,*) ' }'
8585
end subroutine
8686

@@ -146,7 +146,7 @@ subroutine close_and_write_json_footer()
146146
if (TESTS_FAILED==0) then
147147
write(TEST_JSON_FILE_UNIT,*) ' "status" : "pass"'
148148
else
149-
write(TEST_JSON_FILE_UNIT,*) ' "status" : "fail"'
149+
write(TEST_JSON_FILE_UNIT,*) ' "status" : "fail",'
150150
! only write message on fail:
151151
write(TEST_JSON_FILE_UNIT,*) ' "message": "Test summary: '// &
152152
& trim(adjustl(i_to_s(TESTS_FAILED)))//' of '//trim(adjustl(i_to_s(TESTS_RUN)))//' tests failed",'

0 commit comments

Comments
 (0)