Skip to content

Commit

Permalink
GODRIVER-3452 Assert got is empty client options
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Jan 15, 2025
1 parent 095cf21 commit 416c2f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mongo/options/clientoptions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ func TestClientOptions(t *testing.T) {

t.Run("MergeClientOptions single nil option", func(t *testing.T) {
got := MergeClientOptions(nil)
assert.NotNil(t, got)
assert.Equal(t, Client(), got)
})

t.Run("MergeClientOptions multiple nil options", func(t *testing.T) {
got := MergeClientOptions(nil, nil)
assert.NotNil(t, got)
assert.Equal(t, Client(), got)
})
})
t.Run("direct connection validation", func(t *testing.T) {
Expand Down

0 comments on commit 416c2f6

Please sign in to comment.