commit | fbcb3391f97a551a5d78278ed416e50865a4662f | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Tue Jun 25 11:02:21 2019 +0200 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Tue Jun 25 11:48:42 2019 +0000 |
tree | dede3e6dcc878453149ac233b62066e50a6a5a8e | |
parent | e4ce2431fd32a957bc55ebf782aff820898725b6 [diff] [blame] |
internal/protobuf: record position information for both errors and in the AST. Removes the error type, which now implements the standard CUE error conventions. Change-Id: I7a4198a9cf9b38622f14f63df827f3f9730fe4b5 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/2341 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/internal/protobuf/protobuf_test.go b/internal/protobuf/protobuf_test.go index e21a126..5049281 100644 --- a/internal/protobuf/protobuf_test.go +++ b/internal/protobuf/protobuf_test.go
@@ -26,7 +26,7 @@ "github.com/kr/pretty" ) -var update *bool = flag.Bool("update", false, "update the test output") +var update = flag.Bool("update", false, "update the test output") func TestParseDefinitions(t *testing.T) { testCases := []string{