Skip to content

Commit 61e63df

Browse files
committed
Upgrade golang and check in results of Golang_github.com-ohler55-ojg upgrade
1 parent a6bf271 commit 61e63df

20 files changed

+170
-138
lines changed

bug_reports/Golang_github.com-ohler55-ojg.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ The following queries provide results that do not match those of other implement
262262
Exception: runtime error: comparing uncomparable type map[string]interface {}
263263
```
264264

265-
- [ ] `$[?((@.d!=["v1","v2"]) || (@.d == true))]`
265+
- [ ] `$[?(!(@.d==["v1","v2"]) || (@.d == true))]`
266266
Input:
267267
```
268268
[
@@ -288,25 +288,30 @@ The following queries provide results that do not match those of other implement
288288
Exception: runtime error: comparing uncomparable type []interface {}
289289
```
290290

291-
- [ ] `$.*[?(@.key)]`
291+
- [ ] `$[?((@.d!=["v1","v2"]) || (@.d == true))]`
292292
Input:
293293
```
294294
[
295295
{
296-
"some": "some value"
296+
"d": [
297+
"v1",
298+
"v2"
299+
]
300+
},
301+
{
302+
"d": [
303+
"a",
304+
"b"
305+
]
297306
},
298307
{
299-
"key": "value"
308+
"d": true
300309
}
301310
]
302311
```
303-
Expected output:
304-
```
305-
[]
306-
```
307-
Actual output:
308-
NOT_SUPPORTED
312+
Error:
309313
```
314+
Exception: runtime error: comparing uncomparable type []interface {}
310315
```
311316

312317
- [ ] `$[?@.key==42]`

docs/index.html

Lines changed: 55 additions & 55 deletions
Large diffs are not rendered by default.

docs/results/filter_expression_on_object.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,8 @@ <h4 id="Golang_github.com-ohler55-ojg">
131131
Golang (github.com-ohler55-ojg)
132132
</h4>
133133

134-
<p>Not supported</p>
135-
136-
<pre><code></code></pre>
134+
<pre><code>[]
135+
</code></pre>
137136

138137
<h4 id="Golang_github.com-spyzhov-ajson">
139138
Golang (github.com-spyzhov-ajson)

docs/results/filter_expression_with_current_object.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,10 @@ <h4 id="Golang_github.com-ohler55-ojg">
172172
Golang (github.com-ohler55-ojg)
173173
</h4>
174174

175-
<p>Not supported</p>
176-
177-
<pre><code></code></pre>
175+
<pre><code>[
176+
true
177+
]
178+
</code></pre>
178179

179180
<h4 id="Golang_github.com-oliveagle-jsonpath">
180181
Golang (github.com-oliveagle-jsonpath)

docs/results/filter_expression_with_equals_number_for_bracket_notation_with_star.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,21 @@ <h4 id="Golang_github.com-ohler55-ojg">
113113
</h4>
114114

115115
<pre><code>[
116+
[
117+
1,
118+
2
119+
],
116120
[
117121
2,
118122
3
119123
],
120124
[
121125
2
126+
],
127+
[
128+
1,
129+
2,
130+
3
122131
]
123132
]
124133
</code></pre>

docs/results/filter_expression_with_equals_number_for_dot_notation_with_star.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,21 @@ <h4 id="Golang_github.com-ohler55-ojg">
118118
</h4>
119119

120120
<pre><code>[
121+
[
122+
1,
123+
2
124+
],
121125
[
122126
2,
123127
3
124128
],
125129
[
126130
2
131+
],
132+
[
133+
1,
134+
2,
135+
3
127136
]
128137
]
129138
</code></pre>

docs/results/filter_expression_with_negation_and_equals_array_or_equals_true.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,6 @@ <h4 id="Golang_github.com-PaesslerAG-jsonpath">
9696
<pre><code>parsing error: $[?(!(@.d==["v1","v2"]) || (@.d == true))] :1:5 - 1:6 unexpected "!" while scanning extensions
9797
</code></pre>
9898

99-
<h4 id="Golang_github.com-ohler55-ojg">
100-
Golang (github.com-ohler55-ojg)
101-
</h4>
102-
103-
<p>Not supported</p>
104-
105-
<pre><code></code></pre>
106-
10799
<h4 id="Golang_github.com-vmware-labs-yaml-jsonpath">
108100
Golang (github.com-vmware-labs-yaml-jsonpath)
109101
</h4>
@@ -527,6 +519,13 @@ <h4 id="Golang_github.com-bhmj-jsonslice">
527519
<pre><code>unknown token at 7: ["v1","v2"])||(@.d==true) at 4
528520
</code></pre>
529521

522+
<h4 id="Golang_github.com-ohler55-ojg">
523+
Golang (github.com-ohler55-ojg)
524+
</h4>
525+
526+
<pre><code>Exception: runtime error: comparing uncomparable type []interface {}
527+
</code></pre>
528+
530529
<h4 id="Golang_github.com-oliveagle-jsonpath">
531530
Golang (github.com-oliveagle-jsonpath)
532531
¹

docs/results/filter_expression_with_non_singular_existence_test.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,8 @@ <h4 id="Golang_github.com-ohler55-ojg">
178178
Golang (github.com-ohler55-ojg)
179179
</h4>
180180

181-
<p>Not supported</p>
182-
183-
<pre><code></code></pre>
181+
<pre><code>[]
182+
</code></pre>
184183

185184
<h4 id="Golang_github.com-oliveagle-jsonpath">
186185
Golang (github.com-oliveagle-jsonpath)

docs/results/filter_expression_with_set_wise_comparison_to_scalar.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ <h4 id="Golang_github.com-ohler55-ojg">
104104
</h4>
105105

106106
<pre><code>[
107+
[
108+
3,
109+
4
110+
],
107111
[
108112
5,
109113
6

docs/results/filter_expression_with_subfilter.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,8 @@ <h4 id="Golang_github.com-ohler55-ojg">
218218
Golang (github.com-ohler55-ojg)
219219
</h4>
220220

221-
<p>Not supported</p>
222-
223-
<pre><code></code></pre>
221+
<pre><code>[]
222+
</code></pre>
224223

225224
<h4 id="Golang_github.com-oliveagle-jsonpath">
226225
Golang (github.com-oliveagle-jsonpath)

0 commit comments

Comments
 (0)