File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ subroutine write_json_success( test_description )
80
80
write (TEST_JSON_FILE_UNIT,* ) ' {'
81
81
write (TEST_JSON_FILE_UNIT,* ) ' "name" : "' // trim (test_info)// ' ",'
82
82
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"'
84
84
write (TEST_JSON_FILE_UNIT,* ) ' }'
85
85
end subroutine
86
86
@@ -146,7 +146,7 @@ subroutine close_and_write_json_footer()
146
146
if (TESTS_FAILED== 0 ) then
147
147
write (TEST_JSON_FILE_UNIT,* ) ' "status" : "pass"'
148
148
else
149
- write (TEST_JSON_FILE_UNIT,* ) ' "status" : "fail"'
149
+ write (TEST_JSON_FILE_UNIT,* ) ' "status" : "fail", '
150
150
! only write message on fail:
151
151
write (TEST_JSON_FILE_UNIT,* ) ' "message": "Test summary: ' // &
152
152
& trim (adjustl (i_to_s(TESTS_FAILED)))// ' of ' // trim (adjustl (i_to_s(TESTS_RUN)))// ' tests failed",'
You can’t perform that action at this time.
0 commit comments