Commit d20e672
authored
Clean up expression tests (#1182)
* run integration test update script
* remove duplicate array tests
* rename `invalid` test to `invalid-arg`
* combine slice expression test files
* split `slice/invalid-inputs` into separate tests for each parameter
* test slice expression against similar cases for arrays and strings
* remove tests duplicated by `match/labels-mixed-1`
* remove test duplicated by `match/label-strings`
* rename `match/mismatch-label-2` to align with other tests
* remove test duplicated by `interpolate/exponential-color`
* align `linear-color` tests between `interpolate{,-hcl,-lab}`1 parent 2465dfd commit d20e672
File tree
37 files changed
+705
-989
lines changed- test/integration/expression/tests
- array
- item-type-and-length
- item-type
- feature-state
- basic
- expression-arg
- geometry-type/basic
- global-state/basic
- interpolate-hcl
- linear-color
- linear
- interpolate-lab/linear-color
- interpolate
- linear-color
- projection
- higher-than-stop
- linear
- lower-than-stop
- same-from-to
- legacy/identity
- color_array
- number_array
- padding
- length/invalid-arg
- match
- label-mixed
- mismatch-label-1
- mixed-type
- multi-value
- slice
- array-one-index-empty
- array-one-index-end
- array-one-index
- array-two-indexes-negative-length
- array-two-indexes
- invalid-input-arg
- invalid-start-index
- string-one-index-empty
- string-one-index-end
- string-one-index
- string-two-indexes-negative-length
- string-two-indexes-zero-length
- string-two-indexes
- step/projection
- step-array
- step-primitive
37 files changed
+705
-989
lines changedLines changed: 0 additions & 66 deletions
This file was deleted.
Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
16 | | - | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| |||
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
28 | | - | |
| 36 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 9 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 2 | | |
13 | | - | |
| 3 | + | |
14 | 4 | | |
15 | 5 | | |
16 | 6 | | |
| |||
106 | 96 | | |
107 | 97 | | |
108 | 98 | | |
109 | | - | |
| 99 | + | |
110 | 100 | | |
111 | | - | |
| 101 | + | |
112 | 102 | | |
113 | 103 | | |
114 | 104 | | |
115 | | - | |
| 105 | + | |
116 | 106 | | |
117 | | - | |
| 107 | + | |
118 | 108 | | |
119 | 109 | | |
120 | 110 | | |
121 | | - | |
| 111 | + | |
122 | 112 | | |
123 | | - | |
| 113 | + | |
124 | 114 | | |
125 | 115 | | |
126 | 116 | | |
127 | | - | |
| 117 | + | |
128 | 118 | | |
129 | | - | |
| 119 | + | |
130 | 120 | | |
131 | 121 | | |
132 | 122 | | |
| |||
Lines changed: 0 additions & 88 deletions
This file was deleted.
0 commit comments