c4k-mastodon-bot/src/test/cljc/dda/k8s_mastodon_bot/yaml_test.cljc
2021-02-23 09:15:05 +01:00

13 lines
349 B
Clojure

(ns dda.k8s-mastodon-bot.yaml-test
(:require
[clojure.test :refer [deftest is testing are]]
[dda.k8s-mastodon-bot.yaml :as cut]))
(deftest should-parse-yaml-string
(is (= {:hallo "welt"}
(cut/from-string "hallo: welt"))))
(deftest should-generate-yaml-string
(is (= "hallo: welt
"
(cut/to-string {:hallo "welt"}))))