File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3235,6 +3235,7 @@ func TestPos(t *testing.T) {
3235
3235
testCases := []struct {
3236
3236
value string
3237
3237
pos string
3238
+ skip bool
3238
3239
}{{
3239
3240
value : `
3240
3241
a: string
@@ -3245,6 +3246,10 @@ a: "foo"`,
3245
3246
a: x: string
3246
3247
a: x: "x"` ,
3247
3248
pos : "2:4" ,
3249
+
3250
+ // the position of the new evaluator is also correct, and actually
3251
+ // better.
3252
+ skip : true ,
3248
3253
}, {
3249
3254
// Prefer struct conjuncts with actual fields.
3250
3255
value : `
@@ -3264,7 +3269,9 @@ a: x: y: z: "x"`,
3264
3269
}}
3265
3270
for _ , tc := range testCases {
3266
3271
runMatrix (t , "" , func (t * testing.T , cfg * evalConfig ) {
3267
- TODO_V3 (t , cfg )
3272
+ if tc .skip {
3273
+ TODO_V3 (t , cfg )
3274
+ }
3268
3275
3269
3276
var c Context
3270
3277
(* runtime .Runtime )(& c ).Init ()
You can’t perform that action at this time.
0 commit comments