Closed ak-coram closed 4 years ago
Looks good I think, but seems like our build is broken. I'll try to fix it here so you can rebase and get a green build: https://github.com/clojure-emacs/parseedn/pull/2
That seems to have worked, could you rebase on master?
That seems to have worked, could you rebase on master?
Hi, thank you. I've rebased my changes on the new master.
Looks like my test is broken, I don't think we can rely on a specific serialization to test against since the keys are not in a guaranteed order (I think we're relying on maphash
to retrieve the keys). Maybe read back the result and compare it against the original? That would mean the test doesn't just test printing, but reading also.
What do you think?
Fixed the test, please let me know if you prefer another approach.
looks good to me! thanks!
Hi,
the printing of hash-maps only seems to work for maps containing a single (or zero) entries:
I've added a fix and a test for this, please let me know if I've missed anything. Thanks!