diff options
| author | Rob Pike <r@golang.org> | 2010-09-23 13:48:56 +1000 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2010-09-23 13:48:56 +1000 |
| commit | 1959c3ac5bcc901115878babe74b819026de97be (patch) | |
| tree | 02e23329756accd113aea80697c312104443b4cf /src/pkg/path | |
| parent | c10865ce536684eec13ab7b1499ef74c07420cd2 (diff) | |
| download | go-1959c3ac5bcc901115878babe74b819026de97be.tar.xz | |
tests: fix prints
- delete unnecessary newlines
- make sure formatted prints call the formatting routines
R=adg
CC=golang-dev
https://golang.org/cl/2225046
Diffstat (limited to 'src/pkg/path')
| -rw-r--r-- | src/pkg/path/match_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/match_test.go b/src/pkg/path/match_test.go index c02384f927..97bfc57332 100644 --- a/src/pkg/path/match_test.go +++ b/src/pkg/path/match_test.go @@ -71,7 +71,7 @@ func TestMatch(t *testing.T) { for _, tt := range matchTests { ok, err := Match(tt.pattern, tt.s) if ok != tt.match || err != tt.err { - t.Errorf("Match(%#q, %#q) = %v, %v want %v, nil\n", tt.pattern, tt.s, ok, err, tt.match) + t.Errorf("Match(%#q, %#q) = %v, %v want %v, nil", tt.pattern, tt.s, ok, err, tt.match) } } } |
