Refactor unit tests for JSON decoding/encoding

The unit tests for de-json:html and en-json:html in zuse.hoon were
copied from the JSON Test Suite (https://github.com/nst/JSONTestSuite).
While a good test suite if usable as-is, it has a lot of problems with
it, namely: inconsistent test names; repeated tests; and mixing tests
for multiple cases into one file. Since the tests need to be manually
added to Urbit anyway, this commit uses the opportunity to clean up the
test suite by making the following changes:
- Renaming tests to use a consistent naming scheme
- Removing repetetive test cases
- Splitting multi-case tests into multiple single-purpose tests
This commit is contained in:
Alex Shelkovnykov 2021-09-14 19:49:28 -07:00
parent 365a1d5af9
commit 345c4a8ae5

File diff suppressed because it is too large Load Diff