-
Notifications
You must be signed in to change notification settings - Fork 25
pop tests #764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pop tests #764
Conversation
test/clojure/core_test/pop.cljc
Outdated
| (is (thrown? Exception (pop \space))) | ||
| (is (thrown? Exception (pop []))) | ||
| (is (thrown? Exception (pop '()))) | ||
| (is (thrown? Exception (pop {})))])))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just collapse the :clj and :cljr into :default since they're identical and likely to be the same for future Clojure platforms that get added (e.g. Clojerl). cljs is often the odd platform out that needs a different implementation while all other platforms have the same
|
Can you add an assertion for |
|
|
Does Clojure CLR have this? I think we should focus more on
No, we should focus on |
Clojure CLR does have this, I would assume any public data structure in |
|
Looking at other Clojure platforms it looks like
Doesn't have
|
jank will be in the latter list as well. To me, |
|
I replaced |
|
@jeaye makes sense to me, and thanks @rafonsecad ! |
|
Thank you! |
No description provided.