ref: d79e79e33b434fb9dc21bbffcdc55662e6aeec7b dhall-ruby/test/test_binary.rb -rw-r--r-- 657 bytes
Allow self-describing CBOR
Simplify binary tests for now
Binary encoding

Every AST node uses as_json to express the generic structure for
encoding itself.  Expression aliases as_cbor to as_json by default and
then uses as_cbor in to_cbor (aliased as to_binary).

This design is because we need to override the encoding of Double for
CBOR, but want to keep the normal Float value for as_json in case that
is used directly (to avoid surprising the user).
Run all tests on CI
Fix binary tests
Decoding Dhall from binary works