Skip to content

Commit

Permalink
Fix defer
Browse files Browse the repository at this point in the history
  • Loading branch information
zasweq committed May 17, 2024
1 parent 0e061b3 commit 1621bbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions default_dial_option_server_option_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (s) TestAddGlobalServerOptions(t *testing.T) {
t.Fatalf("Unexpected s.opts.maxReceiveMessageSize: %d != %d", s.opts.maxReceiveMessageSize, maxRecvSize)
}

internal.ClearGlobalServerOptions()
if len(globalServerOptions) != 0 {
t.Fatalf("Unexpected len of globalServerOptions: %d != 0", len(globalServerOptions))
}
Expand Down

0 comments on commit 1621bbd

Please sign in to comment.