summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-09-04 23:11:11 +0200
committerAdam Strzelecki <ono@java.pl>2015-09-04 23:11:11 +0200
commit567b7d5a6a7fe426355b496b22b7ec573929b2d3 (patch)
treead32a0fc4ab695a490069eb735cf981d77bfd8d5
parent0b44d812f10c6dbf7eb7cbf13ae0dc053bb2de9d (diff)
downloadNim-567b7d5a6a7fe426355b496b22b7ec573929b2d3.tar.gz
tests: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
-rw-r--r--tests/readme.txt26
-rw-r--r--tests/realtimeGC/readme.txt42
-rw-r--r--tests/testdata/string.txt2
3 files changed, 35 insertions, 35 deletions
diff --git a/tests/readme.txt b/tests/readme.txt
index 2cfc79f9a..0ff9e11c6 100644
--- a/tests/readme.txt
+++ b/tests/readme.txt
@@ -1,13 +1,13 @@
-This directory contains the test cases.

-Each test must have a filename of the form: ``t*.nim``

-

-Each test can contain a spec in a ``discard """"""`` block.

-

-The folder ``rodfiles`` contains special tests that test incremental

-compilation via symbol files.

-

-The folder ``dll`` contains simple DLL tests.

-

-The folder ``realtimeGC`` contains a test for validating that the realtime GC

-can run properly without linking against the nimrtl.dll/so. It includes a C

-client and platform specific build files for manual compilation.

+This directory contains the test cases.
+Each test must have a filename of the form: ``t*.nim``
+
+Each test can contain a spec in a ``discard """"""`` block.
+
+The folder ``rodfiles`` contains special tests that test incremental
+compilation via symbol files.
+
+The folder ``dll`` contains simple DLL tests.
+
+The folder ``realtimeGC`` contains a test for validating that the realtime GC
+can run properly without linking against the nimrtl.dll/so. It includes a C
+client and platform specific build files for manual compilation.
diff --git a/tests/realtimeGC/readme.txt b/tests/realtimeGC/readme.txt
index 035a00001..17e18a5e5 100644
--- a/tests/realtimeGC/readme.txt
+++ b/tests/realtimeGC/readme.txt
@@ -1,21 +1,21 @@
-Test the realtime GC without linking nimrtl.dll/so.

-

-Note, this is a long running test, default is 35 minutes. To change the

-the run time see RUNTIME in main.nim and main.c.

-

-You can build shared.nim, main.nim, and main.c by running make (nix systems)

-or maike.bat (Windows systems). They both assume GCC and that it's in your

-path. Output: shared.(dll/so), camin(.exe), nmain(.exe).

-

-To run the test: execute either nmain or cmain in a shell window.

-

-To build buy hand:

-

-  - build the shared object (shared.nim):

-

-    $ nim c shared.nim

-

-  - build the client executables:

-

-    $ nim c -o:nmain main.nim

-    $ gcc -o cmain main.c -ldl

+Test the realtime GC without linking nimrtl.dll/so.
+
+Note, this is a long running test, default is 35 minutes. To change the
+the run time see RUNTIME in main.nim and main.c.
+
+You can build shared.nim, main.nim, and main.c by running make (nix systems)
+or maike.bat (Windows systems). They both assume GCC and that it's in your
+path. Output: shared.(dll/so), camin(.exe), nmain(.exe).
+
+To run the test: execute either nmain or cmain in a shell window.
+
+To build buy hand:
+
+  - build the shared object (shared.nim):
+
+    $ nim c shared.nim
+
+  - build the client executables:
+
+    $ nim c -o:nmain main.nim
+    $ gcc -o cmain main.c -ldl
diff --git a/tests/testdata/string.txt b/tests/testdata/string.txt
index 41bfe81b8..102374bdb 100644
--- a/tests/testdata/string.txt
+++ b/tests/testdata/string.txt
@@ -1 +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
+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.