Skip to content

Commit

Permalink
Fix comment grammar in tester_test.go cleanup function.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergekh2 committed Nov 29, 2024
1 parent 3cac2d0 commit 90df11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/node/rpc/tester_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ var _ = (*serviceTester).sequentialSubtest
func (st *serviceTester) cleanup(f any) {
st.t.Cleanup(func() {
st.t.Helper()
// On first cleanup call for current test cancel context, so relevant shutdowns are started.
// On first cleanup call cancel context for the current test, so relevant shutdowns are started.
if st.ctxCancel != nil {
st.ctxCancel()
st.ctxCancel = nil
Expand Down

0 comments on commit 90df11a

Please sign in to comment.