blob: 1f9bdbd4725f9fc23f4526137018e0f5f330c910 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
(let [{: capitalize
} (require :lib.string)
{: describe
: test-end} (require :lib.test)]
(describe "# STRING" (fn []
(describe "capitalize()" (fn [t]
(t {:given "a string"
:should "capitalize it"
:expected :Giraffe
:actual (capitalize :giraffe)})))
(test-end))))
|