9mm/lib/string.test.fnl
dozens c7b2c98200 🗄️ big tidy up
- isolate core game logic and move it to src/game.fnl
- main.fnl should be just the ui now
- move all table funcs into lib/table
- move all (1) string funcs into lib/string
- move all game funcs into lib/game/
2024-06-20 09:17:06 -06:00

14 lines
316 B
Fennel

(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))))