Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(908)

Unified Diff: mojom/mojom_parser/parser/computed_data_test.go

Issue 1819223002: Mojom frontend: Allow non-reference types in non-zero versions of a struct. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojom/mojom_parser/parser/computed_data_test.go
diff --git a/mojom/mojom_parser/parser/computed_data_test.go b/mojom/mojom_parser/parser/computed_data_test.go
index 012e39aea4ac6fa2ea48c523116d68c1e44a80bd..2f4bb1ff8ce3521b880b0298c0a557679d4bf84a 100644
--- a/mojom/mojom_parser/parser/computed_data_test.go
+++ b/mojom/mojom_parser/parser/computed_data_test.go
@@ -156,7 +156,7 @@ func TestMinVersionErrors(t *testing.T) {
};`
test.addTestCase(contents, []string{
"Invalid type for field z: array<int32>.",
- "Non-nullable fields are only allowed in version 0 of of a struct.",
+ "Non-nullable reference fields are only allowed in version 0 of of a struct.",
"This field's MinVersion is 1."})
}
« no previous file with comments | « mojom/mojom_parser/mojom/user_defined_types.go ('k') | mojom/mojom_parser/serialization/serialization_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698