Skip to content

Commit 79a172a

Browse files
committed
release 0.8.3 27809e8
1 parent 3ef30bd commit 79a172a

File tree

5 files changed

+291
-212
lines changed

5 files changed

+291
-212
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
"use strict";
2+
3+
module.exports = {
4+
description: "Issue #146 - Only the first failure in an `allOf` block is returned",
5+
tests: [
6+
{
7+
description: "should pass",
8+
options: {
9+
breakOnFirstError: false
10+
},
11+
schema: {
12+
properties: {
13+
password: {
14+
allOf: [
15+
{ type: "string", minLength: 8 },
16+
{ type: "string", pattern: "[A-Z]+" }
17+
]
18+
}
19+
}
20+
},
21+
data: { password: "short" },
22+
valid: false,
23+
after: function (err) {
24+
expect(err.length).toBe(2);
25+
}
26+
}
27+
]
28+
};

vega-lite-schema.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@
138138
"zero": {
139139
"type": "boolean",
140140
"description": "Include zero",
141-
"default": true,
142141
"supportedTypes": {"Q": 1,"T": 1}
143142
},
144143
"useRawDomain": {
@@ -353,7 +352,6 @@
353352
"zero": {
354353
"type": "boolean",
355354
"description": "Include zero",
356-
"default": true,
357355
"supportedTypes": {"Q": 1,"T": 1}
358356
},
359357
"useRawDomain": {
@@ -832,7 +830,6 @@
832830
"zero": {
833831
"type": "boolean",
834832
"description": "Include zero",
835-
"default": true,
836833
"supportedTypes": {"Q": 1,"T": 1}
837834
},
838835
"useRawDomain": {
@@ -1001,7 +998,6 @@
1001998
"zero": {
1002999
"type": "boolean",
10031000
"description": "Include zero",
1004-
"default": true,
10051001
"supportedTypes": {"Q": 1,"T": 1}
10061002
},
10071003
"useRawDomain": {
@@ -1351,7 +1347,6 @@
13511347
"zero": {
13521348
"type": "boolean",
13531349
"description": "Include zero",
1354-
"default": true,
13551350
"supportedTypes": {"Q": 1,"T": 1}
13561351
},
13571352
"useRawDomain": {

0 commit comments

Comments
 (0)