diff --git a/source/bson-binary-vector/bson-binary-vector.md b/source/bson-binary-vector/bson-binary-vector.md index d46f6681a9..1b6fdaebbf 100644 --- a/source/bson-binary-vector/bson-binary-vector.md +++ b/source/bson-binary-vector/bson-binary-vector.md @@ -247,6 +247,8 @@ See the [README](tests/README.md) for tests. ## Changelog +- 2025-03-07: Update tests to use Extended JSON representation of +/-Infinity. (DRIVERS-3095) + - 2025-02-04: Update validation for decoding into a FLOAT32 vector. - 2024-11-01: BSON Binary Subtype 9 accepted DRIVERS-2926 (#1708) diff --git a/source/bson-binary-vector/tests/float32.json b/source/bson-binary-vector/tests/float32.json index 845f504ff3..72dafce10f 100644 --- a/source/bson-binary-vector/tests/float32.json +++ b/source/bson-binary-vector/tests/float32.json @@ -32,7 +32,7 @@ { "description": "Infinity Vector FLOAT32", "valid": true, - "vector": ["-inf", 0.0, "inf"], + "vector": [{"$numberDouble": "-Infinity"}, 0.0, {"$numberDouble": "Infinity"} ], "dtype_hex": "0x27", "dtype_alias": "FLOAT32", "padding": 0,