renormalize *.txt EOL

This commit is contained in:
andri lim 2020-03-28 16:58:01 +07:00 committed by zah
parent 73bb7db070
commit 45b8258af4
8 changed files with 26485 additions and 26481 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# prevent git modifying EOL
*.txt binary

View File

@ -10,8 +10,10 @@ template check_uncompress(source, target: string) =
framing_format_uncompress(inStream, outStream)
var okResult = readFile(uncompDir & target)
if outStream.getOutput(string) != okResult:
let expected = readFile(uncompDir & target)
let actual = outStream.getOutput(string)
if actual != expected:
check false
else:
check true