mirror of
https://github.com/golang/go
synced 2024-10-14 03:43:28 +00:00
cmd/asm/internal/asm: don't set testOut in testErrors
It's set but the output is never used. Change-Id: I36ecb9c5f087a85289529907ede9f9bfc295d739 Reviewed-on: https://go-review.googlesource.com/c/go/+/428637 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Benny Siegert <bsiegert@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
3c33c3b327
commit
76c94eb706
|
@ -277,7 +277,6 @@ func testErrors(t *testing.T, goarch, file string, flags ...string) {
|
|||
parser := NewParser(ctxt, architecture, lexer, false)
|
||||
pList := new(obj.Plist)
|
||||
var ok bool
|
||||
testOut = new(strings.Builder) // The assembler writes test output to this buffer.
|
||||
ctxt.Bso = bufio.NewWriter(os.Stdout)
|
||||
ctxt.IsAsm = true
|
||||
defer ctxt.Bso.Flush()
|
||||
|
|
Loading…
Reference in a new issue