Skip to content

Commit

Permalink
Remove print statements from raw array test (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Sep 17, 2024
1 parent 5f90032 commit 2a03109
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bson/raw_array_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"bytes"
"encoding/binary"
"errors"
"fmt"
"io"
"testing"

Expand Down Expand Up @@ -462,12 +461,10 @@ func TestRawArray_Values(t *testing.T) {
t.Parallel()

values, err := tcase.arr.Values()
fmt.Println("values: ", values)
require.NoError(t, err, "failed to turn array into values")
require.Len(t, values, len(tcase.want), "got len does not match want")

for idx, want := range tcase.want {
fmt.Println(want.Value, values[idx].Value)
assert.True(t, want.Equal(values[idx]), "want: %v, got: %v", want, values[idx])
}
})
Expand Down

0 comments on commit 2a03109

Please sign in to comment.