slagyr / speclj

pronounced "speckle": a TDD/BDD framework for Clojure.
MIT License
458 stars 58 forks source link

Use a less error-prone test for cljs #148

Closed RadicalZephyr closed 8 years ago

RadicalZephyr commented 8 years ago

Now that Speclj 3.3 requires clojure 1.7 speclj should probably use reader conditionals to differentiate between clojure and clojurescript.

For some reason my REPL in one specific project always has the cljs.analyzer namespace available, so I get compilation failures during expansion speclj.core/-fail because it expands (incorrectly) into a call to (new speclj.platform.SpecFailure).