@@ -373,10 +373,12 @@ class AstTransformerTest extends Specification {
373373
374374 when :
375375 def newDocument = astTransformer. transform(document, visitor)
376+ def newDocumentParallel = astTransformer. transformParallel(document, visitor)
376377
377378 then :
378379
379380 printAstCompact(newDocument) == " query {root {aChanged(arg:1) {y1} b {y2} new}}"
381+ printAstCompact(newDocumentParallel) == " query {root {aChanged(arg:1) {y1} b {y2} new}}"
380382
381383 }
382384
@@ -396,9 +398,11 @@ class AstTransformerTest extends Specification {
396398
397399 when :
398400 def newDocument = astTransformer. transform(document, visitor)
401+ def newDocumentParallel = astTransformer. transformParallel(document, visitor)
399402
400403 then :
401404 printAstCompact(newDocument) == " query {foo foo2}"
405+ printAstCompact(newDocumentParallel) == " query {foo foo2}"
402406
403407 }
404408
@@ -418,9 +422,11 @@ class AstTransformerTest extends Specification {
418422
419423 when :
420424 def newDocument = astTransformer. transform(document, visitor)
425+ def newDocumentParallel = astTransformer. transformParallel(document, visitor)
421426
422427 then :
423428 printAstCompact(newDocument) == " query {foo2 foo}"
429+ printAstCompact(newDocumentParallel) == " query {foo2 foo}"
424430
425431 }
426432
@@ -493,9 +499,11 @@ class AstTransformerTest extends Specification {
493499
494500 when :
495501 def newDocument = astTransformer. transform(document, visitor)
502+ def newDocumentParallel = astTransformer. transformParallel(document, visitor)
496503
497504 then :
498505 printAstCompact(newDocument) == " query {root {a(arg:1) {x y} newOne}}"
506+ printAstCompact(newDocumentParallel) == " query {root {a(arg:1) {x y} newOne}}"
499507
500508 }
501509
0 commit comments