Skip to content

Commit

Permalink
escape the dot before json
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer committed Sep 22, 2024
1 parent c03c1d1 commit 4851d33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

class ResourceArchitectureTest extends AbstractArchitectureTest {

private static final Pattern KEBAB_CASE_PATH_PATTERN = Pattern.compile("^(\\.?[a-z0-9]+(-[a-z0-9]+)*|\\{[^}]+})(/(([a-z0-9]+(-[a-z0-9]+)*|\\{[^}]+})))*(.json|/\\*)?$");
private static final Pattern KEBAB_CASE_PATH_PATTERN = Pattern.compile("^(\\.?[a-z0-9]+(-[a-z0-9]+)*|\\{[^}]+})(/(([a-z0-9]+(-[a-z0-9]+)*|\\{[^}]+})))*(\\.json|/\\*)?$");

@Test
void shouldBeNamedResource() {
Expand Down

0 comments on commit 4851d33

Please sign in to comment.