Skip to content

Commit

Permalink
Add test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
qingyang-hu committed Oct 11, 2023
1 parent 19243b7 commit cb7a81b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mongo/change_stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ func TestMergeChangeStreamOptions(t *testing.T) {
input []*options.ChangeStreamOptions
want *options.ChangeStreamOptions
}{
{
description: "nil",
input: nil,
want: &options.ChangeStreamOptions{},
},
{
description: "empty",
input: []*options.ChangeStreamOptions{},
Expand Down

0 comments on commit cb7a81b

Please sign in to comment.