Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bhb
Last active November 18, 2015 23:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhb/ee006b2e4afbf520ea64 to your computer and use it in GitHub Desktop.
Save bhb/ee006b2e4afbf520ea64 to your computer and use it in GitHub Desktop.
Trying to use
(ns my-test
(:require [cljs.test :as test :refer-macros [async is deftest testing assert-expr]]))
(defmethod test/assert-expr '= [menv msg form]
`(let [a# ~msg]
;; doing nothing here intentionally ...
))
(deftest sample
(is (= {:a 1} {:a 2})))
;; I get
;; WARNING: Use of undeclared Var cljs.test/assert-expr at line 4 my_test.cljs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment