summaryrefslogtreecommitdiff
path: root/lib/tail.test.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tail.test.fnl')
-rw-r--r--lib/tail.test.fnl19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/tail.test.fnl b/lib/tail.test.fnl
deleted file mode 100644
index e507a0b..0000000
--- a/lib/tail.test.fnl
+++ /dev/null
@@ -1,19 +0,0 @@
-(let [{: tail} (require :lib.tail)
- {: describe :end test-end} (require :lib.test)]
- (describe "tail()" (fn [t]
- (t {:given "a list"
- :should "return it minus the head"
- :expected [:apple :pear]
- :actual (tail [:orange :apple :pear])
- })
- (t {:given "a single item list"
- :should "return empty list"
- :expected []
- :actual (tail [:orange])
- })
- (t {:given "an empty list"
- :should "return empty list"
- :expected []
- :actual (tail [])
- })
- (test-end))))