Small bugs with Gen.hs #198
Labels
Hacktoberfest
https://hacktoberfest.digitalocean.com/
help wanted
Extra attention is needed
test
Testing (unit, properties)
Some bugs I found when running tests:
"\"
can be generated as a key, but is invalid because the escape character cannot be on its owna
which contains two arraysb
andb.c
on the same level, which pretty prints to[[a]] \n [[a.b]] \n [[a.b.c]]
but that gets (correctly) interpreted as an arraya
that contains an arrayb
that contains an arrayc
. Elements of an array can't share prefixes.The first one should be easy to fix, the second is trickier maybe, but overall those have very small chance of appearing, and if they do, re-running the test has always done the trick for me. Maybe not worth fixing.
The text was updated successfully, but these errors were encountered: