Skip to content

Commit

Permalink
test: fix %d specifier for BigInt
Browse files Browse the repository at this point in the history
  • Loading branch information
Masashi Hirano committed Oct 20, 2018
1 parent 7f649ae commit cec2e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-util-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ assert.strictEqual(util.format('%d %d', 42, 43), '42 43');
assert.strictEqual(util.format('%d %d', 42), '42 %d');
assert.strictEqual(
util.format('%d', 1180591620717411303424),
'1.1805916207174113e+21'
'1'
);
assert.strictEqual(
util.format('%d', 1180591620717411303424n),
Expand Down

0 comments on commit cec2e69

Please sign in to comment.