Skip to content

Commit 581a3e7

Browse files
committed
fix: Fix flaky uri and path tests in ListCompositeDataSourceTest
1 parent 68d928c commit 581a3e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application/src/test/java/org/opentripplanner/datastore/api/ListCompositeDataSourceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ void type() {
7070
}
7171

7272
private String replaceHash(String name) {
73-
return name.replaceAll("\\d{6,}", "NNN");
73+
return name.replaceAll("-?\\d+", "NNN");
7474
}
7575
}

0 commit comments

Comments
 (0)