1
0
mirror of https://github.com/golang/go synced 2024-11-15 01:50:28 -07:00

cmd/compile/internal/ssa: fix typos in comment and log

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-03-30 12:09:59 +08:00
parent ba9c445f16
commit d409884979
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)")
} }
}) })
} }