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

Unified Diff: mojom/mojom_parser/formatter/formatter_test.go

Issue 1770243002: Change line limit to 80 char. (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
« no previous file with comments | « mojo/public/tools/bindings/mojom_tool/bin/mac64/mojom.sha1 ('k') | mojom/mojom_parser/formatter/printer.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojom/mojom_parser/formatter/formatter_test.go
diff --git a/mojom/mojom_parser/formatter/formatter_test.go b/mojom/mojom_parser/formatter/formatter_test.go
index 1d31661a7c4000315c0583d26ce48c2c76b97ad4..02da5f41a019cbbd1e24fccac0af6bbda7f5b3d0 100644
--- a/mojom/mojom_parser/formatter/formatter_test.go
+++ b/mojom/mojom_parser/formatter/formatter_test.go
@@ -34,12 +34,12 @@ struct FooStruct { // FooStruct comment.
int16 field2 = 10;
// Field3 comment.
// Field3 other comment.
- int32 field3@10 = 10;
+ int32 field3@2 = 10;
};
struct FooUnion {
[Attr1=1] int8 field1;
- int16 field2@5;
+ int16 field2@1;
};
enum FooEnum {
@@ -70,9 +70,9 @@ interface InterfaceFoo { // Interface comment.
const int8 const_in_interface = 20;
// Method 1 comment.
- method1@5(int8 hello@10);
+ method1@5(int8 hello@0);
// Method 2 comment.
- method2([MinVersion=5] int8 hello) => (Foo bar@20);
+ method2([MinVersion=5] int8 hello) => (Foo bar@0);
method3();
method4() => (Foo bar);
method5(int8 p1 /* p1 comment */, int16 p2); // method comment
« no previous file with comments | « mojo/public/tools/bindings/mojom_tool/bin/mac64/mojom.sha1 ('k') | mojom/mojom_parser/formatter/printer.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698