diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tgziplike.nim (renamed from tests/tmain.nim) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tmain.nim b/tests/tgziplike.nim index 07d9c35..2b79240 100644 --- a/tests/tmain.nim +++ b/tests/tgziplike.nim | |||
@@ -15,7 +15,7 @@ | |||
15 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | 15 | # along with this program. If not, see <https://www.gnu.org/licenses/>. |
16 | 16 | ||
17 | import unittest, os, ospaths, osproc | 17 | import unittest, os, ospaths, osproc |
18 | import main | 18 | import gziplike |
19 | 19 | ||
20 | const tempDir = "tmp" | 20 | const tempDir = "tmp" |
21 | 21 | ||
@@ -32,7 +32,7 @@ suite "main": | |||
32 | check startProcess("cmp", args=[input, final], options={poUsePath}).waitForExit() == 0 | 32 | check startProcess("cmp", args=[input, final], options={poUsePath}).waitForExit() == 0 |
33 | 33 | ||
34 | test "identity (binary)": | 34 | test "identity (binary)": |
35 | let input = "tests" / "tmain" | 35 | let input = "tests" / "tgziplike" |
36 | let intermediate = tempDir / "compressed" | 36 | let intermediate = tempDir / "compressed" |
37 | let final = tempDir / "decompressed" | 37 | let final = tempDir / "decompressed" |
38 | compress.transform(input, intermediate) | 38 | compress.transform(input, intermediate) |