From 3c4374bc43dfe3138ad6cb03aae642401b1c04c4 Mon Sep 17 00:00:00 2001 From: Chris Jefferson Date: Mon, 4 Jun 2018 15:40:06 +0100 Subject: [PATCH] Update gzip tests to support seeking --- tst/testinstall/files/files.tst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tst/testinstall/files/files.tst b/tst/testinstall/files/files.tst index f27e30cb7e..8c994d7714 100644 --- a/tst/testinstall/files/files.tst +++ b/tst/testinstall/files/files.tst @@ -90,7 +90,7 @@ gap> testRead := function(testName, openFunc, lines, supportsPosition) > PrintFormatted("Unexpected extra byte in {}\n", testName); > fi; > if not IsEndOfStream(file) then -> PrintFormatted("Exepected end of stream in {}\n", testName); +> PrintFormatted("Expected end of stream in {}\n", testName); > fi; > CloseStream(file); > od; @@ -101,8 +101,8 @@ gap> testRead("example.txt", {} -> InputTextFile(Filename(dir, "example.txt")), > lines, true); # Test automatic gzip detection -gap> testRead("example.txt", {} -> InputTextFile(Filename(dir, "examplegz.txt")), -> lines, false); +gap> testRead("examplegz.txt", {} -> InputTextFile(Filename(dir, "examplegz.txt")), +> lines, true); gap> testRead("empty.txt", {} -> InputTextFile(Filename(dir, "empty.txt")), > [], true); gap> testRead("lines string", {} -> InputTextString(Concatenation(lines)), lines, true);