Skip to content

Commit 0bcbfad

Browse files
committed
Fixed test
1 parent cf5e0f3 commit 0bcbfad

File tree

1 file changed

+1
-1
lines changed
  • src/test/kotlin/g3501_3600/s3570_find_books_with_no_available_copies

1 file changed

+1
-1
lines changed

src/test/kotlin/g3501_3600/s3570_find_books_with_no_available_copies/MysqlTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ internal class MysqlTest {
6363
)
6464
.lines()
6565
.collect(Collectors.joining("\n"))
66-
.replace("#.*\\r\\n".toRegex(), ""),
66+
.replace("#.*?\\r?\\n".toRegex(), ""),
6767
).use { resultSet ->
6868
assertThat<Boolean>(resultSet.next(), equalTo<Boolean>(true))
6969
assertThat<String>(resultSet.getNString(1), equalTo<String>("1"))

0 commit comments

Comments
 (0)