Skip to content

Commit 796367e

Browse files
committed
minor change
1 parent 3b4d7ab commit 796367e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongo/cursor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func TestCursor(t *testing.T) {
102102
t.Run("TestAll", func(t *testing.T) {
103103
t.Run("errors if argument is not pointer to slice", func(t *testing.T) {
104104
cursor, err := newCursor(newTestBatchCursor(1, 5), nil, nil)
105-
assert.NoError(t, err, "newCursor error: %v", err)
105+
require.NoError(t, err, "newCursor error: %v", err)
106106
err = cursor.All(context.Background(), []bson.D{})
107107
assert.Error(t, err, "expected error, got nil")
108108
})

0 commit comments

Comments
 (0)