Skip to content

Commit 9ca1d2e

Browse files
committed
todo comment for GODRIVER-3594
1 parent ffc1b65 commit 9ca1d2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/integration/unified/matches.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ func evaluateSpecialComparison(ctx context.Context, assertionDoc bson.Raw, actua
251251

252252
// Numeric values can be compared even if their types are different (e.g. if expected is an int32 and actual
253253
// is an int64).
254+
255+
// TODO(GODRIVER-3594): If we decide to add AsDoubleOK() as a method to RawValue, this following conversion should be updated.
254256
var expectedF64 float64
255257
if assertionVal.Type == bson.TypeDouble {
256258
expectedF64 = assertionVal.Double()

0 commit comments

Comments
 (0)