summaryrefslogtreecommitdiffstats
path: root/tests/012/seq.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/012/seq.tl')
-rw-r--r--tests/012/seq.tl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/012/seq.tl b/tests/012/seq.tl
new file mode 100644
index 00000000..66361cfb
--- /dev/null
+++ b/tests/012/seq.tl
@@ -0,0 +1,9 @@
+(load "../common")
+
+(test (append "abc" "d") "abcd")
+(test (append "abc" #(#\d)) "abcd")
+(test (append '(1 2 . "abc") #(#\d)) (1 2 . "abcd"))
+(test (append 3 4) :error)
+(test (append '(1) 2) (1 . 2))
+(test (append '(1 . 2) 2) :error)
+(test (append '(1 . #(3 4 5)) "d") (1 . #(3 4 5 #\d)))