Skip to content

Commit 6be342c

Browse files
committed
chore: let it be, let it be.
1 parent 80b2147 commit 6be342c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/benchmarks/driverBench/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ benchmarkRunner
9090
info: {
9191
test_name: benchmarkName,
9292
tags: [bsonType],
93-
// Args can only be a map of string -> int32. So if its a number coerce it to an int32,
93+
// Args can only be a map of string -> int32. So if its a number leave it be,
9494
// if it is anything else test for truthiness and set to 1 or 0.
9595
args: Object.fromEntries(
9696
Object.entries(MONGODB_CLIENT_OPTIONS).map(([key, value]) => [
9797
key,
98-
typeof value === 'number' ? value | 0 : value ? 1 : 0
98+
typeof value === 'number' ? value : value ? 1 : 0
9999
])
100100
)
101101
},

0 commit comments

Comments
 (0)