Closed Grinkers closed 11 months ago
Patch coverage: 100.00%
and project coverage change: +0.24%
:tada:
Comparison is base (
bec6ea2
) 71.06% compared to head (0c0e9fd
) 71.30%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@naomijub
While doing this, I also ran into
https://github.com/Grinkers/edn-rs/blob/symbols/src/deserialize/parse.rs#L69
which I believe should be (|c| !c.1.is_whitespace() && !DELIMITERS.contains(&c.1))
when doing tests, I ran into
---- deserialize::test::namespaced_maps_navigation stdout ----
thread 'deserialize::test::namespaced_maps_navigation' panicked at 'assertion failed: `(left == right)`
left: `Nil`,
right: `Key(":val")`', src/deserialize/mod.rs:665:9
---- deserialize::test::namespaced_maps stdout ----
thread 'deserialize::test::namespaced_maps' panicked at 'assertion failed: `(left == right)`
left: `Key(":abc")`,
right: `NamespacedMap("abc", Map({"0": Key(":val"), "1": Key(":value")}))`', src/deserialize/mod.rs:572:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I can't find any reference to namespaced maps in EDN (or clojure, for that matter). Is this some sort of reader macro?
(clojure.edn/read-string ":abc{ 0 :val 1 :value}")
:abc
is what I would have expected and get.
@Grinkers Our implementation of namespace mas is based off https://github.com/edn-format/edn#tagged-elements. It was adapting to Nubank's coding style at the time
@Grinkers I will look this error later today and get back to you
I'm really sorry for the time we took to review. We were both sick this past month
Fixes #105