Skip to content

Commit

Permalink
Introduce EOL normalization for largeFile.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Jul 21, 2017
1 parent 0fe578b commit b067508
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
largeFile.txt text eol=lf
2 changes: 1 addition & 1 deletion src/test/java/reactor/ipc/netty/NettyOutboundTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public FileChunkedStrategy getFileChunkedStrategy() {
.element(1)
.asString()
.startsWith("This is an UTF-8 file that is larger than 1024 bytes. It contains accents like é. GARBAGE")
.endsWith("GARBAGE\nEnd of File");
.endsWith("GARBAGE End of File");
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/largeFile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ GARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGAR
1024 mark here -><- 1024 mark here
GARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGE
GARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGEGARBAGE
End of File
GARBAGE End of File

0 comments on commit b067508

Please sign in to comment.