We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f1199 commit 587b45dCopy full SHA for 587b45d
src/test/kotlin/g3601_3700/s3617_find_students_with_study_spiral_pattern/MysqlTest.kt
@@ -79,7 +79,7 @@ internal class MysqlTest {
79
)
80
.lines()
81
.collect(Collectors.joining("\n"))
82
- .replace("#.*\\r\\n".toRegex(), ""),
+ .replace("#.*?\\r?\\n".toRegex(), ""),
83
).use { resultSet ->
84
assertThat<Boolean>(resultSet.next(), equalTo<Boolean>(true))
85
assertThat<String>(resultSet.getNString(1), equalTo<String>("2"))
0 commit comments