Skip to content

Commit 74bab2f

Browse files
committed
build: fix windows build
1 parent 0d7ea93 commit 74bab2f

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

modules/jooby-apt/src/test/java/tests/i3567/Issue3567.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,9 @@ public void shouldSupportGoogleInjectAnnotation() throws Exception {
2222
new ProcessorRunner(new C3567(conf))
2323
.withSourceCode(
2424
source -> {
25-
assertTrue(
26-
source.contains(
27-
"public C3567_() {\n"
28-
+ " this(C3567.class);\n"
29-
+ " }\n"
30-
+ "\n"
31-
+ " public C3567_(Class<C3567> type) {\n"
32-
+ " this(ctx -> ctx.require(type));\n"
33-
+ " }"));
25+
assertTrue(source.contains("this(C3567.class);"));
26+
assertTrue(source.contains("public C3567_(Class<C3567> type) {"));
27+
assertTrue(source.contains("this(ctx -> ctx.require(type));"));
3428
});
3529
}
3630
}

0 commit comments

Comments
 (0)