Add tests for apply#870
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new cross-dialect test namespace to exercise clojure.core/apply behavior within the existing clojure.core-test.* suite.
Changes:
- Introduces
clojure.core-test.applywith assertions coveringapplyon empty seqables, mixed fixed args + seq args, and IFn invocations (map/keyword/vector/set). - Uses the portability layer (
when-var-exists,p/thrown?) to keep behavior consistent across supported dialects.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
What specifically are you trying to test? |
Thanks for the idea, Emma! I agree with Dave here that this one shouldn't be needed. Keep 'em coming. |
|
@jeaye , BTW, good idea to invoke the CoPilot review. I should do that more often. It caught a couple formatting things (trailing white space, comment on the wrong line, and a misspelling. I guess a little AI isn't a bad thing. :-) |
I'm glad you're not annoyed by it! I've been using it for my jank PRs and it actually catches a lot. So far, it's definitely been worth my while. It's free for the jank-lang org, so, as you said, we might as well. |
jeaye
left a comment
There was a problem hiding this comment.
LGTM. Awaiting approval from Emma, as she may have more comments.
|
OK, this should be ready now. |
|
BTW, @E-A-Griffin , there are some tests of |
E-A-Griffin
left a comment
There was a problem hiding this comment.
Let's get this merged!
No description provided.