beacon-biosignals / StableHashTraits.jl

Compute hashes over any Julia object simply and reproducibly
MIT License
9 stars 3 forks source link

Fix Bug in the hashing of empty tuples #49

Closed haberdashPI closed 10 months ago

haberdashPI commented 10 months ago

Description

The new parser doesn't correctly parse "{}", which occurs in e.g. an empty tuple type. This adds tests and fixes the parsing of this edge case.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6c7ce8f) 95.38% compared to head (637548f) 95.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #49 +/- ## ======================================= Coverage 95.38% 95.38% ======================================= Files 2 2 Lines 347 347 ======================================= Hits 331 331 Misses 16 16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.