mirror of
https://github.com/golang/go
synced 2024-11-15 05:00:31 -07:00
cmd/compile/internal/ssa: fix typos in comment and log
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
ba9c445f16
commit
d409884979
@ -130,7 +130,7 @@ type Logger interface {
|
|||||||
// some logging calls account for more than a few heap allocations.
|
// some logging calls account for more than a few heap allocations.
|
||||||
Log() bool
|
Log() bool
|
||||||
|
|
||||||
// Fatal reports a compiler error and exits.
|
// Fatalf reports a compiler error and exits.
|
||||||
Fatalf(pos src.XPos, msg string, args ...interface{})
|
Fatalf(pos src.XPos, msg string, args ...interface{})
|
||||||
|
|
||||||
// Warnl writes compiler messages in the form expected by "errorcheck" tests
|
// Warnl writes compiler messages in the form expected by "errorcheck" tests
|
||||||
|
@ -192,7 +192,7 @@ func skipSubTest(t *testing.T, tag string, basename string, gcflags string, coun
|
|||||||
if *force {
|
if *force {
|
||||||
testNexting(t, basename, tag, gcflags, count, moreargs...)
|
testNexting(t, basename, tag, gcflags, count, moreargs...)
|
||||||
} else {
|
} else {
|
||||||
t.Skip("skipping flaky test becaused not forced (-f)")
|
t.Skip("skipping flaky test because not forced (-f)")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user