diff options
author | pacien | 2018-11-30 21:16:04 +0100 |
---|---|---|
committer | pacien | 2018-11-30 21:29:34 +0100 |
commit | 0c375acd686f2e7f3116e243bf9c89a836d5be99 (patch) | |
tree | ab867161ea78746ffde46952bb61fa5d91c060fd /tests | |
parent | 1f0c6a7638353d1ebbbc4ba1a8de0887d5f68e98 (diff) | |
download | gziplike-0c375acd686f2e7f3116e243bf9c89a836d5be99.tar.gz |
rename main file
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) |