Skip to content

Add tests for remove#880

Merged
jeaye merged 7 commits into
jank-lang:mainfrom
E-A-Griffin:egriffin/remove
May 21, 2026
Merged

Add tests for remove#880
jeaye merged 7 commits into
jank-lang:mainfrom
E-A-Griffin:egriffin/remove

Conversation

@E-A-Griffin
Copy link
Copy Markdown
Collaborator

This closes #451

@jeaye jeaye requested a review from dgr May 15, 2026 01:20
Copy link
Copy Markdown
Member

@jeaye jeaye left a comment

Choose a reason for hiding this comment

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

Thanks, Emma!

Comment thread test/clojure/core_test/remove.cljc
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new core test namespace to cover clojure.core/remove, addressing the missing coverage reported in issue #451.

Changes:

  • Introduces clojure.core-test.remove with transducer and 2-arity remove behavioral tests.
  • Adds exception-case coverage for invalid predicate and invalid collection argument types, using portable p/thrown? assertions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/clojure/core_test/remove.cljc Outdated
Comment thread test/clojure/core_test/remove.cljc Outdated
Copy link
Copy Markdown
Collaborator

@dgr dgr left a comment

Choose a reason for hiding this comment

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

Overall, looks good. A couple changes.

Comment thread test/clojure/core_test/remove.cljc Outdated
Comment thread test/clojure/core_test/remove.cljc
Copy link
Copy Markdown
Collaborator

@dgr dgr left a comment

Choose a reason for hiding this comment

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

See comment about testing for lazy seq.

Comment thread test/clojure/core_test/remove.cljc
@E-A-Griffin E-A-Griffin requested review from dgr and jeaye May 21, 2026 02:43
Copy link
Copy Markdown
Member

@jeaye jeaye left a comment

Choose a reason for hiding this comment

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

Nice work, Emma!

@jeaye jeaye merged commit 3cf0307 into jank-lang:main May 21, 2026
5 checks passed
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/remove

4 participants