@@ -49,7 +49,7 @@ impl BindEvalExpr for EvalGraphMatch {
49
49
mod tests {
50
50
use crate :: eval:: expr:: { BindEvalExpr , EvalGlobalVarRef , EvalGraphMatch } ;
51
51
use crate :: eval:: graph:: plan:: {
52
- BindSpec , DirectionFilter , EdgeFilter , LabelFilter , NodeFilter , NodeMatch ,
52
+ BindSpec , DirectionFilter , EdgeFilter , LabelFilter , NodeFilter , NodeMatch , PathMode ,
53
53
PathPatternMatch , TripleFilter , TripleStepFilter , TripleStepMatch , ValueFilter ,
54
54
} ;
55
55
use crate :: eval:: graph:: string_graph:: StringGraphTypes ;
@@ -202,6 +202,7 @@ mod tests {
202
202
binders,
203
203
spec,
204
204
filter : ValueFilter :: Always ,
205
+ path_mode : PathMode :: Walk ,
205
206
} ;
206
207
207
208
test_graph ( matcher. into ( ) , "<< >>" )
@@ -230,6 +231,7 @@ mod tests {
230
231
binders,
231
232
spec,
232
233
filter : ValueFilter :: Always ,
234
+ path_mode : PathMode :: Walk ,
233
235
} ;
234
236
235
237
test_graph ( matcher. into ( ) , "<< >>" )
@@ -256,6 +258,7 @@ mod tests {
256
258
binders,
257
259
spec,
258
260
filter : ValueFilter :: Always ,
261
+ path_mode : PathMode :: Walk ,
259
262
} ;
260
263
261
264
test_graph ( matcher. into ( ) , "<< {'x': 2, 'z': 1.2, 'y': 1} >>" )
@@ -284,6 +287,7 @@ mod tests {
284
287
binders,
285
288
spec,
286
289
filter : ValueFilter :: Always ,
290
+ path_mode : PathMode :: Walk ,
287
291
} ;
288
292
289
293
test_graph ( matcher. into ( ) , "<< { }, { } >>" )
@@ -312,6 +316,7 @@ mod tests {
312
316
binders,
313
317
spec,
314
318
filter : ValueFilter :: Always ,
319
+ path_mode : PathMode :: Walk ,
315
320
} ;
316
321
317
322
test_graph (
@@ -340,6 +345,7 @@ mod tests {
340
345
binders,
341
346
spec,
342
347
filter : Default :: default ( ) ,
348
+ path_mode : PathMode :: Walk ,
343
349
} ;
344
350
345
351
let binders = (
@@ -359,6 +365,7 @@ mod tests {
359
365
binders,
360
366
spec,
361
367
filter : Default :: default ( ) ,
368
+ path_mode : PathMode :: Walk ,
362
369
} ;
363
370
364
371
let pattern_match = PathPatternMatch :: Concat (
@@ -367,6 +374,7 @@ mod tests {
367
374
PathPatternMatch :: Match ( matcher2) ,
368
375
] ,
369
376
Default :: default ( ) ,
377
+ PathMode :: Walk ,
370
378
) ;
371
379
372
380
test_graph (
@@ -397,6 +405,7 @@ mod tests {
397
405
binders,
398
406
spec,
399
407
filter : Default :: default ( ) ,
408
+ path_mode : PathMode :: Walk ,
400
409
} ;
401
410
402
411
let binders = (
@@ -416,6 +425,7 @@ mod tests {
416
425
binders,
417
426
spec,
418
427
filter : Default :: default ( ) ,
428
+ path_mode : PathMode :: Walk ,
419
429
} ;
420
430
421
431
let pattern_match = PathPatternMatch :: Concat (
@@ -424,6 +434,7 @@ mod tests {
424
434
PathPatternMatch :: Match ( matcher2) ,
425
435
] ,
426
436
Default :: default ( ) ,
437
+ PathMode :: Walk ,
427
438
) ;
428
439
test_graph (
429
440
pattern_match,
0 commit comments