Skip to content

Commit 402a5e8

Browse files
committed
Preserve test details by encoding json with obj2json
1 parent b2289ad commit 402a5e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runAllTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function runAllTests(id, repo)
7777
end
7878
end
7979
fid = fopen(dbPath, 'w+');
80-
fprintf(fid, '%s', jsonencode(report));
80+
fprintf(fid, '%s', obj2json(report));
8181
exit(fclose(fid))
8282
catch ex
8383
fprintf('Error in ''%s'' line %i: %s: %s\n', ...

0 commit comments

Comments
 (0)