Skip to content

Commit 81a89ea

Browse files
committed
Merge pull request dropwizard#1040 from nickbabcock/fixup-test-newlines
Fix test for sorting endpoints in log
2 parents c4d98e8 + c0b6216 commit 81a89ea

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dropwizard-jersey/src/test/java/io/dropwizard/jersey/DropwizardResourceConfigTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ public void logsEndpointsSorted() {
8686
rc.register(ImplementingResource.class);
8787

8888
assertThat(rc.getEndpointsInfo()).matches(Pattern.compile(".*"
89-
+ " GET / \\(io\\.dropwizard\\.jersey\\.dummy\\.DummyResource\\)."
90-
+ " GET /another \\(io\\.dropwizard\\.jersey\\.DropwizardResourceConfigTest\\.ImplementingResource\\)."
91-
+ " GET /async \\(io\\.dropwizard\\.jersey\\.dummy\\.DummyResource\\)."
92-
+ " DELETE /dummy \\(io\\.dropwizard\\.jersey\\.DropwizardResourceConfigTest\\.TestResource2\\)."
93-
+ " GET /dummy \\(io\\.dropwizard\\.jersey\\.DropwizardResourceConfigTest\\.TestResource\\)."
94-
+ " POST /dummy \\(io\\.dropwizard\\.jersey\\.DropwizardResourceConfigTest\\.TestResource2\\).",
89+
+ " GET / \\(io\\.dropwizard\\.jersey\\.dummy\\.DummyResource\\)" + System.lineSeparator()
90+
+ " GET /another \\(io\\.dropwizard\\.jersey\\.DropwizardResourceConfigTest\\.ImplementingResource\\)" + System.lineSeparator()
91+
+ " GET /async \\(io\\.dropwizard\\.jersey\\.dummy\\.DummyResource\\)" + System.lineSeparator()
92+
+ " DELETE /dummy \\(io\\.dropwizard\\.jersey\\.DropwizardResourceConfigTest\\.TestResource2\\)" + System.lineSeparator()
93+
+ " GET /dummy \\(io\\.dropwizard\\.jersey\\.DropwizardResourceConfigTest\\.TestResource\\)" + System.lineSeparator()
94+
+ " POST /dummy \\(io\\.dropwizard\\.jersey\\.DropwizardResourceConfigTest\\.TestResource2\\)" + System.lineSeparator(),
9595
Pattern.DOTALL));
9696
}
9797

0 commit comments

Comments
 (0)