mirror of
https://github.com/golang/go
synced 2024-11-17 00:14:50 -07:00
cmd/link: add missing error check in test
Change-Id: I54998f1b7daa8f8db7a2007b4eb86e9789c03656
GitHub-Last-Rev: 97667ead6f
GitHub-Pull-Request: golang/go#30006
Reviewed-on: https://go-review.googlesource.com/c/160430
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
b136b17a8c
commit
49bc5690a3
@ -28,6 +28,9 @@ func TestLargeText(t *testing.T) {
|
||||
var w bytes.Buffer
|
||||
const FN = 4
|
||||
tmpdir, err := ioutil.TempDir("", "bigtext")
|
||||
if err != nil {
|
||||
t.Fatalf("can't create temp directory: %v\n", err)
|
||||
}
|
||||
|
||||
defer os.RemoveAll(tmpdir)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user