| 1 |
Index: protobuild/cmd/go-fix-acronym/rewrite_test.go |
| 2 |
=================================================================== |
| 3 |
--- protobuild.orig/cmd/go-fix-acronym/rewrite_test.go |
| 4 |
+++ protobuild/cmd/go-fix-acronym/rewrite_test.go |
| 5 |
@@ -56,8 +56,8 @@ func TestRewrite(t *testing.T) { |
| 6 |
{ |
| 7 |
name: "Simple", |
| 8 |
c: config{acronyms: []string{"Cpu"}}, |
| 9 |
- input: "//hello\npackage main\nfunc GetCpu(){}", |
| 10 |
- expected: "//hello\npackage main\n\nfunc GetCPU() {}", |
| 11 |
+ input: "// hello\npackage main\nfunc GetCpu(){}", |
| 12 |
+ expected: "// hello\npackage main\n\nfunc GetCPU() {}", |
| 13 |
}, |
| 14 |
{ |
| 15 |
name: "Multiple matches", |