renormalize *.txt EOL
This commit is contained in:
parent
73bb7db070
commit
45b8258af4
|
@ -0,0 +1,2 @@
|
|||
# prevent git modifying EOL
|
||||
*.txt binary
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue