aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/string.out
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2015-10-09 11:27:18 +0800
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2015-10-09 11:27:18 +0800
commit0b3406bdc0049ac560921c3a0b23516989ab153e (patch)
tree541f1fe5a2b0e185b2cae0a9340d1546572c264a /tests/string.out
parent74cd9775661a378c13d533fd8b432eefd916f0e3 (diff)
tests/string.in: add tests for string builtin
Diffstat (limited to 'tests/string.out')
-rw-r--r--tests/string.out46
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/string.out b/tests/string.out
new file mode 100644
index 00000000..64b956e3
--- /dev/null
+++ b/tests/string.out
@@ -0,0 +1,46 @@
+12
+ab
+bc
+de
+example
+com
+/usr/local/bin
+fish
+a
+b
+c
+1...2...3
+ abc
+abc
+x
+zan
+\cg
+a
+axxb
+Axxb
+ok?
+dog
+2:34:56
+2
+34
+56
+papa
+pa
+murmur
+mur
+2 2
+4 2
+6 2
+0xBadC0de
+blue was my favorite
+1st
+2nd
+last
+spaces_to_underscores
+0 3.14 5
+right left $
+put a
+here
+invalid expression error
+invalid argument error
+missing argument returns 0