Skip to content

Add clojure.core-test.with-meta - #959

Merged
jeaye merged 4 commits into
jank-lang:mainfrom
djblue:with-meta
Oct 19, 2026
Merged

jeaye merged 4 commits into
jank-lang:mainfrom
djblue:with-meta

Conversation

@djblue

@djblue djblue commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

This closes #580

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The replacement test cannot distinguish correct metadata replacement from incorrect merging.

1 open issue
What changed in this PR

Adds a portable with-meta test namespace to the core test suite.

Changes:

  • Tests metadata attachment on literals, constructed collections, and sequences.
  • Adds metadata replacement checks and platform-specific invalid-input cases.
  • Conditionally tests sorted maps and sets.
File Description
test/​clojure/​core_test/​with_meta.cljc Adds portable tests for with-meta behavior.

Review effort: Balanced

Comment thread test/clojure/core_test/with_meta.cljc Resolved

@jeaye jeaye left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Chris!

Comment thread test/clojure/core_test/with_meta.cljc Resolved
Comment thread test/clojure/core_test/with_meta.cljc Resolved
Comment thread test/clojure/core_test/with_meta.cljc Resolved
@djblue
djblue requested a review from jeaye October 17, 2026 20:42
@jeaye
jeaye merged commit 6435511 into jank-lang:main Oct 19, 2026
5 checks passed
@jeaye

jeaye commented Oct 19, 2026

Copy link
Copy Markdown
Member

Thank you!

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.

clojure.core/with-meta

3 participants