summary refs log tree commit diff stats
path: root/tests/assign/tcopy.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assign/tcopy.nim')
-rw-r--r--tests/assign/tcopy.nim25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/assign/tcopy.nim b/tests/assign/tcopy.nim
deleted file mode 100644
index 1e5bc3cba..000000000
--- a/tests/assign/tcopy.nim
+++ /dev/null
@@ -1,25 +0,0 @@
-discard """
-  file: "tcopy.nim"
-  output: "TEMP=C:\\Programs\\xyz\\bin"
-"""
-# tests the substr proc
-
-import
-  strutils
-
-proc main() =
-  const
-    example = r"TEMP=C:\Programs\xyz\bin"
-  var
-    a, b: string
-    p: int
-  p = find(example, "=")
-  a = substr(example, 0, p-1)
-  b = substr(example, p+1)
-  writeLine(stdout, a & '=' & b)
-  #writeLine(stdout, b)
-
-main()
-#OUT TEMP=C:\Programs\xyz\bin
-
-