Skip to content

Commit

Permalink
Don't convert testsys line endings to LF
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyavskiy committed Aug 30, 2023
1 parent e451f37 commit 01f7829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.js text eol=lf
*.dat text eol=crlf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal class TestSysDataSource(val settings: TestSysSettings) : FullReloadCont
Charset.forName("windows-1251")
)
}.map {
it.split("\r\n").filter(String::isNotEmpty)
it.split("\r\n", "\n").filter(String::isNotEmpty)
}

override suspend fun loadOnce(): ContestParseResult {
Expand Down

0 comments on commit 01f7829

Please sign in to comment.