Skip to content

Recognize test.check macros and namespaces for cherry#803

Closed
willcohen wants to merge 1 commit intosquint-cljs:cljs-test-builtinfrom
willcohen:test-check
Closed

Recognize test.check macros and namespaces for cherry#803
willcohen wants to merge 1 commit intosquint-cljs:cljs-test-builtinfrom
willcohen:test-check

Conversation

@willcohen
Copy link
Copy Markdown
Contributor

Corresponding squint change for squint-cljs/cherry#184, targeting cljs-test-builtin branch. Can retarget if/when that branch lands.

…tion

- resolve-ns :cherry case maps the four clojure.test.check* namespaces
  to cherry-cljs/lib/clojure.test.check.js
- builtin-refer-is-macro? refactored from a (ns-set × macro-name-set)
  check to a per-ns map keyed by namespace, so defspec/for-all can sit
  alongside the existing cljs.test entries. Behavior for cljs.test,
  clojure.test, cherry.test, squint.test unchanged.
- No squint.internal additions and no squint runtime changes; the
  test.check macros themselves live in companion cherry change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants