Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
[squash] fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarnung committed Mar 16, 2018
1 parent cf3dcc8 commit 1687df7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/addons-napi/test_number/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const test_number = require(`./build/${common.buildType}/test_number`);

// testing api calls for number
function testNumber(num) {
assert.strictEqual(num, test_number.Test(num));
assert.strictEqual(num, test_number.Test(num));
}

testNumber(0);
Expand All @@ -20,9 +20,9 @@ testNumber(986583);
testNumber(-976675);

testNumber(
98765432213456789876546896323445679887645323232436587988766545658);
98765432213456789876546896323445679887645323232436587988766545658);
testNumber(
-4350987086545760976737453646576078997096876957864353245245769809);
-4350987086545760976737453646576078997096876957864353245245769809);
testNumber(Number.MIN_SAFE_INTEGER);
testNumber(Number.MAX_SAFE_INTEGER);
testNumber(Number.MAX_SAFE_INTEGER + 10);
Expand All @@ -38,7 +38,7 @@ testNumber(Number.NaN);
// validate documented behavior when value is retrieved as 32-bit integer with
// `napi_get_value_int32`
function testInt32(input, expected = input) {
assert.strictEqual(expected, test_number.TestInt32Truncation(input));
assert.strictEqual(expected, test_number.TestInt32Truncation(input));
}

// Test zero
Expand Down Expand Up @@ -81,7 +81,7 @@ testInt32(Number.NaN, 0);
// validate documented behavior when value is retrieved as 64-bit integer with
// `napi_get_value_int64`
function testInt64(input, expected = input) {
assert.strictEqual(expected, test_number.TestInt64Truncation(input));
assert.strictEqual(expected, test_number.TestInt64Truncation(input));
}

// Both V8 and ChakraCore return a sentinel value of `0x8000000000000000` when
Expand Down

0 comments on commit 1687df7

Please sign in to comment.