We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3730364 commit c374c5cCopy full SHA for c374c5c
tests/json.spec.js
@@ -24,4 +24,11 @@ describe('JSON', function(){
24
assert(issues && issues.length === 1);
25
});
26
27
+
28
+ it('should detect negative value for SliceTiming', function(){
29
+ var jsonObj = '{"SliceTiming": [-1.0, 0.0, 1.0]}';
30
+ validate.JSON(file, jsonObj, function (issues) {
31
+ assert(issues.length === 1 && issues[0].code == 55);
32
+ });
33
34
0 commit comments