Skip to content

Conversation

@angusiguess
Copy link
Contributor

Tests covering seq

@CLAassistant
Copy link

CLAassistant commented Dec 21, 2024

CLA assistant check
All committers have signed the CLA.

(is (= input-sorted-map (into (sorted-map) (seq input-sorted-map))))
(is (= input-hash-map (into (hash-map) (seq input-hash-map))))
(is (= input-map (into {} (seq input-map))))))
(testing "nonseqables"
Copy link
Member

Choose a reason for hiding this comment

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

Do you mind adding a test case for infinite seqs? We want to make sure they're handled properly. Like we have here: https://github.com/jank-lang/clojure.core-test/blob/main/test/clojure/core_test/any.cljc#L13

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure thing!

@jeaye jeaye merged commit 5a73a7a into jank-lang:main Dec 25, 2024
2 checks passed
@jeaye
Copy link
Member

jeaye commented Dec 25, 2024

Great job!

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.

3 participants