Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
Issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgang kuehn authored Jun 17, 2016
1 parent 26fb052 commit 069691c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/testMisc.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@

[obj, errors] = JSON.parse(sprintf('"foo\tbar"'));
assert(strcmp(errors{1}{2}, 'Invalid char found in range #00-#1F at line 1, column 5'));

uriPrefix = ['file:///' strrep(pwd, '\', '/') '/test/'];

[obj, errors] = JSON.parse([uriPrefix 'issue6/request.json'], [uriPrefix 'issue6/request_schema.json']);
assert(isempty(errors));
assert(isa(obj.start, 'datetime'));

0 comments on commit 069691c

Please sign in to comment.