summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-04-16 16:43:41 +0200
committerAraq <rumpf_a@web.de>2012-04-16 16:43:41 +0200
commit1db8b5cbb2b4c024f107c12f8ebf564c59948e14 (patch)
tree053f2ebeb92a84fbda2966fe02786b29cc9cd443
parent17d67ab82827d10203646066d4d203d1da26a75a (diff)
downloadNim-1db8b5cbb2b4c024f107c12f8ebf564c59948e14.tar.gz
restored files that 'koch clean' removed
-rw-r--r--icons/koch_icon.obin0 -> 5768 bytes
-rw-r--r--icons/nimrod_icon.obin0 -> 30830 bytes
-rwxr-xr-xkoch.nim2
-rw-r--r--tests/system/io.nim2
-rw-r--r--tests/testdata/string.txt1
5 files changed, 3 insertions, 2 deletions
diff --git a/icons/koch_icon.o b/icons/koch_icon.o
new file mode 100644
index 000000000..b780f4d88
--- /dev/null
+++ b/icons/koch_icon.o
Binary files differdiff --git a/icons/nimrod_icon.o b/icons/nimrod_icon.o
new file mode 100644
index 000000000..c8c364412
--- /dev/null
+++ b/icons/nimrod_icon.o
Binary files differdiff --git a/koch.nim b/koch.nim
index 9eec6bd76..5d49cadfa 100755
--- a/koch.nim
+++ b/koch.nim
@@ -168,7 +168,7 @@ proc cleanAux(dir: string) =
       of "nimcache": 
         echo "removing dir: ", path
         removeDir(path)
-      of "dist", ".git": nil
+      of "dist", ".git", "icons": nil
       else: cleanAux(path)
     else: nil
 
diff --git a/tests/system/io.nim b/tests/system/io.nim
index d9604eb46..ec9a1ed70 100644
--- a/tests/system/io.nim
+++ b/tests/system/io.nim
@@ -1,7 +1,7 @@
 import
   unittest, osproc, streams, os
 const STRING_DATA = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
-const TEST_FILE = "tests/testdata/string"
+const TEST_FILE = "tests/testdata/string.txt"
 
 proc echoLoop(str: string): string =
   result = ""
diff --git a/tests/testdata/string.txt b/tests/testdata/string.txt
new file mode 100644
index 000000000..41bfe81b8
--- /dev/null
+++ b/tests/testdata/string.txt
@@ -0,0 +1 @@
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
\ No newline at end of file