Skip to content

Commit

Permalink
Update gzip tests to support seeking
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson committed Jun 4, 2018
1 parent 606dd5f commit 3c4374b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tst/testinstall/files/files.tst
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 3c4374b

Please sign in to comment.