-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/toml: check parser errors and reject duplicate keys
And teach the tests about inputs which we expect to fail. `want` is now `wantCUE` for clarity; `wantErr` uses `qt.ErrorMatches`. Updates #68. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I2796a76faed01ed62c78145e257c8022efeb5ec3 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194707 Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information
Showing
2 changed files
with
70 additions
and
41 deletions.
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