summary refs log tree commit diff stats
path: root/tests/overload/toverwr.nim
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-09-04 23:04:32 +0200
committerAdam Strzelecki <ono@java.pl>2015-09-04 23:04:32 +0200
commite80465dacf50f260abec30ae57d37b298c93fd83 (patch)
tree393394f8353a4adb49f95e6f13da1fd41681b7b3 /tests/overload/toverwr.nim
parentac9c1cd6b980d4f00eeb52d1109d8e2c8cd21213 (diff)
downloadNim-e80465dacf50f260abec30ae57d37b298c93fd83.tar.gz
tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
Diffstat (limited to 'tests/overload/toverwr.nim')
-rw-r--r--tests/overload/toverwr.nim26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/overload/toverwr.nim b/tests/overload/toverwr.nim
index 32d50faaa..5945a6149 100644
--- a/tests/overload/toverwr.nim
+++ b/tests/overload/toverwr.nim
@@ -1,13 +1,13 @@
-discard """

-  file: "toverwr.nim"

-  output: "hello"

-"""

-# Test the overloading resolution in connection with a qualifier

-

-proc write(t: TFile, s: string) =

-  discard # a nop

-

-system.write(stdout, "hello")

-#OUT hello

-

-

+discard """
+  file: "toverwr.nim"
+  output: "hello"
+"""
+# Test the overloading resolution in connection with a qualifier
+
+proc write(t: TFile, s: string) =
+  discard # a nop
+
+system.write(stdout, "hello")
+#OUT hello
+
+