Skip to content

Commit 587b45d

Browse files
committed
Fixed test
1 parent f0f1199 commit 587b45d

File tree

1 file changed

+1
-1
lines changed
  • src/test/kotlin/g3601_3700/s3617_find_students_with_study_spiral_pattern

1 file changed

+1
-1
lines changed

src/test/kotlin/g3601_3700/s3617_find_students_with_study_spiral_pattern/MysqlTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ internal class MysqlTest {
7979
)
8080
.lines()
8181
.collect(Collectors.joining("\n"))
82-
.replace("#.*\\r\\n".toRegex(), ""),
82+
.replace("#.*?\\r?\\n".toRegex(), ""),
8383
).use { resultSet ->
8484
assertThat<Boolean>(resultSet.next(), equalTo<Boolean>(true))
8585
assertThat<String>(resultSet.getNString(1), equalTo<String>("2"))

0 commit comments

Comments
 (0)