mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-01 22:57:29 -04:00
unix: gofmt after CL 610296
Also remove a few unhelpful blank lines. Change-Id: I4001a25ec409406855b7800afd88738c43f60b90 Reviewed-on: https://go-review.googlesource.com/c/sys/+/621921 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
committed by
Gopher Robot
parent
123459f096
commit
cff53d5a33
@@ -3844,9 +3844,7 @@ func TestTty(t *testing.T) {
|
||||
t.Fatalf("Open %s %+v\n", sname, err)
|
||||
}
|
||||
if _, err = unix.Fcntl(uintptr(ptsfd), unix.F_CONTROL_CVT, &cvtreq); err != nil {
|
||||
|
||||
t.Fatalf("fcntl F_CONTROL_CVT ptsfd %+v\n", err)
|
||||
|
||||
}
|
||||
|
||||
tt := os.NewFile(uintptr(ptsfd), sname)
|
||||
@@ -3871,7 +3869,5 @@ func TestTty(t *testing.T) {
|
||||
|
||||
if !bytes.Equal(text, buffer[:n]) {
|
||||
t.Fatalf("Expected %+v, read %+v\n", text, buffer[:n])
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user