Skip to content

Commit cbe1c85

Browse files
committed
fix: fixed add zeros if value < numberOfParts
1 parent 3760cbf commit cbe1c85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/splitInteger.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test(`should return a part equals to a value
1313
when splitting into 1 part`, () => {
1414
const result = splitInteger(20, 1);
1515

16-
expect(result).toBe([20]);
16+
expect(result).toEqual([20]);
1717
});
1818

1919
test(`should sort parts ascending if they are not equal`, () => {

0 commit comments

Comments
 (0)