Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 379 Bytes
(ns more-macro-musings.core-test
(:require #?(:clj [clojure.test :refer [deftest]]
:cljs [cljs.test :refer-macros [deftest]])
[more-macro-musings.core #?(:clj :refer :cljs :refer-macros) [given]]))
(deftest given-macro-test
(given {:foo "bar" :woo "baz"}
:foo := "bar"
:woo :!= "bar")
(given 1
inc := 2
dec := 0
dec :!= 1))