Skip to content

Commit cb6d15a

Browse files
testwillgopherbot
authored andcommitted
cmd/compile/internal/ssa: fix typos in comment and log
Change-Id: Ic872bac2989ea1c83f31456eb334e6d756ebd7d1 GitHub-Last-Rev: d409884 GitHub-Pull-Request: #66612 Reviewed-on: https://go-review.googlesource.com/c/go/+/575296 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: qiulaidongfeng <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Keith Randall <[email protected]> Auto-Submit: Keith Randall <[email protected]>
1 parent e0cd905 commit cb6d15a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cmd/compile/internal/ssa/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ type Logger interface {
130130
// some logging calls account for more than a few heap allocations.
131131
Log() bool
132132

133-
// Fatal reports a compiler error and exits.
133+
// Fatalf reports a compiler error and exits.
134134
Fatalf(pos src.XPos, msg string, args ...interface{})
135135

136136
// Warnl writes compiler messages in the form expected by "errorcheck" tests

src/cmd/compile/internal/ssa/debug_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func skipSubTest(t *testing.T, tag string, basename string, gcflags string, coun
192192
if *force {
193193
testNexting(t, basename, tag, gcflags, count, moreargs...)
194194
} else {
195-
t.Skip("skipping flaky test becaused not forced (-f)")
195+
t.Skip("skipping flaky test because not forced (-f)")
196196
}
197197
})
198198
}

0 commit comments

Comments
 (0)