Skip to content

Commit 055a404

Browse files
committed
Expand data tests
1 parent 31c8f18 commit 055a404

File tree

9 files changed

+541
-13
lines changed

9 files changed

+541
-13
lines changed
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
{
2-
"environment": "staging",
32
"api-version": "2",
3+
"country": null,
4+
"doors": 5,
5+
"environment": "staging",
6+
"flags": [true, false, true],
7+
"mixed": ["one", 2, true],
8+
"mixed2": [0.1, 2, true],
9+
"new-layout": true,
410
"options": {
511
"screen-order": ["1", "2", "3"]
612
},
7-
"country": null,
8-
"new-layout": true,
9-
"quick-search": false
13+
"one": 1,
14+
"primes": [2, 3, 5, 7],
15+
"quick-search": false,
16+
"zero": 0
1017
}

Tests/Fixtures/Resources/Plist/good/configuration.plist

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,45 @@
44
<dict>
55
<key>Environment</key>
66
<string>development</string>
7+
<key>Flags</key>
8+
<array>
9+
<true/>
10+
<false/>
11+
<true/>
12+
</array>
13+
<key>Mixed</key>
14+
<array>
15+
<string>One</string>
16+
<integer>1</integer>
17+
<true/>
18+
</array>
19+
<key>Mixed2</key>
20+
<array>
21+
<real>0.1</real>
22+
<integer>1</integer>
23+
<true/>
24+
</array>
25+
<key>Names</key>
26+
<array>
27+
<string>John</string>
28+
<string>Peter</string>
29+
<string>Nick</string>
30+
</array>
31+
<key>One</key>
32+
<integer>1</integer>
733
<key>Options</key>
834
<dict>
935
<key>Animation Style</key>
1036
<string>Party Mode</string>
1137
</dict>
12-
<key>Names</key>
38+
<key>Primes</key>
1339
<array>
14-
<string>John</string>
15-
<string>Peter</string>
16-
<string>Nick</string>
40+
<integer>2</integer>
41+
<integer>3</integer>
42+
<integer>5</integer>
43+
<integer>7</integer>
1744
</array>
45+
<key>Zero</key>
46+
<integer>0</integer>
1847
</dict>
1948
</plist>
Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,32 @@
1-
hello: world
2-
weight: 33.3
1+
car: null
2+
doors: 5
3+
flags:
4+
- true
5+
- false
6+
- true
37
foo:
48
bar: banana
59
baz: orange
6-
car: null
7-
newLayout: true
8-
quickSearch: false
10+
hello: world
11+
mixed:
12+
- one
13+
- 2
14+
- true
15+
mixed2:
16+
- 0.1
17+
- 2
18+
- true
919
names:
1020
- John
1121
- Peter
1222
- Nick
23+
newLayout: true
24+
one: 1
25+
primes:
26+
- 2
27+
- 3
28+
- 5
29+
- 7
30+
quickSearch: false
31+
weight: 33.3
32+
zero: 0

Tests/Fixtures/StencilContexts/JSON/all.yaml

Lines changed: 92 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)