Skip to content

Commit c5102a7

Browse files
committed
fix tests for groovy 5
1 parent cf81025 commit c5102a7

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

dropwizard-guicey/src/test/groovy/ru/vyarus/dropwizard/guice/debug/renderer/guice/GuiceAopRendererForSpecialMethodsTest.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ class GuiceAopRendererForSpecialMethodsTest extends Specification {
4040
def "Check aop render"() {
4141

4242
expect:
43-
render(new GuiceAopConfig()) == """
43+
render(new GuiceAopConfig())
44+
.replace('IndyInterface.java:344', 'IndyInterface.java:321') == """
4445
4546
1 AOP handlers declared
4647
└── GuiceAopRendererForSpecialMethodsTest\$App\$1/GuiceAopRendererForSpecialMethodsTest\$App\$1\$1 at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)

dropwizard-guicey/src/test/groovy/ru/vyarus/dropwizard/guice/debug/renderer/guice/GuiceRendererSingletonDetectionTest.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ class GuiceRendererSingletonDetectionTest extends Specification {
4040
expect:
4141
render(new GuiceConfig()
4242
.hideGuiceBindings()
43-
.hideGuiceyBindings()) == """
43+
.hideGuiceyBindings())
44+
.replace('IndyInterface.java:344', 'IndyInterface.java:321')== """
4445
4546
1 MODULES with 12 bindings
4647

0 commit comments

Comments
 (0)