mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: remove superfluous check in TestIssue34788Android386TLSSequence
err != nil is already checked in the if condition one line above. Change-Id: If36cdb41016f7be98a65be0a7211d85cd6017f87 Reviewed-on: https://go-review.googlesource.com/c/go/+/250477 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
bb54a855a9
commit
02f445258c
1 changed files with 1 additions and 3 deletions
|
|
@ -455,9 +455,7 @@ func TestIssue34788Android386TLSSequence(t *testing.T) {
|
|||
cmd := exec.Command(testenv.GoToolPath(t), "tool", "compile", "-o", obj, src)
|
||||
cmd.Env = append(os.Environ(), "GOARCH=386", "GOOS=android")
|
||||
if out, err := cmd.CombinedOutput(); err != nil {
|
||||
if err != nil {
|
||||
t.Fatalf("failed to compile blah.go: %v, output: %s\n", err, out)
|
||||
}
|
||||
t.Fatalf("failed to compile blah.go: %v, output: %s\n", err, out)
|
||||
}
|
||||
|
||||
// Run objdump on the resulting object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue