mirror of
https://github.com/golang/go
synced 2024-11-25 13:17:56 -07:00
fmt: remove ineffective else branch in test
Change-Id: I8e47266e8b3fb2f2ae07455b317de58dfcdd8016 Reviewed-on: https://go-review.googlesource.com/c/go/+/603536 Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Commit-Queue: Ian Lance Taylor <iant@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
fe392d0dff
commit
ed31d642cb
@ -1230,7 +1230,6 @@ func TestReorder(t *testing.T) {
|
||||
s := Sprintf(tt.fmt, tt.val...)
|
||||
if s != tt.out {
|
||||
t.Errorf("Sprintf(%q, %v) = <%s> want <%s>", tt.fmt, tt.val, s, tt.out)
|
||||
} else {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user