util/eventbus/eventbustest: fix typo of test name

And another case of the same typo in a comment elsewhere.

Updates #cleanup

Change-Id: Iaa9d865a1cf83318d4a30263c691451b5d708c9c
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2025-09-19 10:34:55 -07:00 committed by Brad Fitzpatrick
parent 5e698a81b6
commit d559a21418
2 changed files with 2 additions and 2 deletions

View File

@ -570,7 +570,7 @@ func ensureRulesAdded(rulesPerSvc map[string][]rule, nfr linuxfw.NetfilterRunner
} }
// ensureRulesDeleted ensures that the given rules are deleted from the firewall // ensureRulesDeleted ensures that the given rules are deleted from the firewall
// configuration. For any rules that do not exist, calling this funcion is a // configuration. For any rules that do not exist, calling this function is a
// no-op. // no-op.
func ensureRulesDeleted(rulesPerSvc map[string][]rule, nfr linuxfw.NetfilterRunner) error { func ensureRulesDeleted(rulesPerSvc map[string][]rule, nfr linuxfw.NetfilterRunner) error {
for svc, rules := range rulesPerSvc { for svc, rules := range rulesPerSvc {

View File

@ -157,7 +157,7 @@ func TestExample_Expect_WithMultipleFunctions(t *testing.T) {
// OK // OK
} }
func TestExample_ExpectExactly_WithMultipleFuncions(t *testing.T) { func TestExample_ExpectExactly_WithMultipleFunctions(t *testing.T) {
type eventOfInterest struct { type eventOfInterest struct {
value int value int
} }