mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: gofmt -w
Change-Id: Iae74ac910d9db035bb2b726b2128aac09f5b7aae
GitHub-Last-Rev: 7aab5fa8e7
GitHub-Pull-Request: golang/go#75993
Reviewed-on: https://go-review.googlesource.com/c/go/+/713540
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
parent
c9c78c06ef
commit
261c561f5a
3 changed files with 4 additions and 4 deletions
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"internal/testenv"
|
|
||||||
"internal/goarch"
|
"internal/goarch"
|
||||||
|
"internal/testenv"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
|
||||||
|
|
@ -27,8 +27,8 @@ func timer_settime(timerid int32, flags int32, new, old *itimerspec) int32 {
|
||||||
timer32bitOnly.Store(true)
|
timer32bitOnly.Store(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
var newts,oldts itimerspec32
|
var newts, oldts itimerspec32
|
||||||
var new32,old32 *itimerspec32
|
var new32, old32 *itimerspec32
|
||||||
|
|
||||||
if new != nil {
|
if new != nil {
|
||||||
newts.it_interval.setNsec(new.it_interval.tv_sec*1e9 + new.it_interval.tv_nsec)
|
newts.it_interval.setNsec(new.it_interval.tv_sec*1e9 + new.it_interval.tv_nsec)
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ func TestTestFSWrappedErrors(t *testing.T) {
|
||||||
|
|
||||||
// TestFS is expected to return a list of errors.
|
// TestFS is expected to return a list of errors.
|
||||||
// Enforce that the list can be extracted for browsing.
|
// Enforce that the list can be extracted for browsing.
|
||||||
type wrapper interface{
|
type wrapper interface {
|
||||||
error
|
error
|
||||||
Unwrap() []error
|
Unwrap() []error
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue