-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue: allow top level JSON marshalers in EncodeType
Also add some tests for `EncodeType` as it wasn't called at all in the entire code base. I have verified that the test `TestEncodeType/CUEValue#2` fails on master, but passes with this fix applied. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I039a72d59d75b39c2dc1e5a2cad06c111669b6c2 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/547383 Reviewed-by: Daniel Martí <[email protected]> Unity-Result: CUE porcuepine <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
2 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters