diff options
| author | Martin Möhrmann <martisch@uos.de> | 2016-03-11 08:10:55 +0100 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2016-03-16 03:46:24 +0000 |
| commit | cf08eadf9fbde7d992883d3382f4e353eebe53a9 (patch) | |
| tree | f96ca62e8a78c90d2285477c8e651263e1f293b9 /src/path/path_test.go | |
| parent | 790053b25ed384a81dba1af7c8c0646b48018af3 (diff) | |
| download | go-cf08eadf9fbde7d992883d3382f4e353eebe53a9.tar.xz | |
fmt: clear flags before printing extra argument errors
Do a reset of the fmt flags before printing the extra argument
error message to prevent a malformed printing of extra arguments.
Regroup tests for extra argument error strings.
Change-Id: Ifd97f5ca36f6c97ed5a380d975cf154d17997d3f
Reviewed-on: https://go-review.googlesource.com/20571
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/path/path_test.go')
0 files changed, 0 insertions, 0 deletions
