Skip to content

Commit 8006916

Browse files
committed
fix errors/correct username
1 parent af64a76 commit 8006916

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/absoluteValue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const handleErrors = (params) => {
1414
/**
1515
* This function converts all numbers to a positive number
1616
* @memberof variadic
17-
* @author tdnelson
17+
* @author tdnelson2
1818
* @param {...*} params - One or more parameters.
1919
*/
2020
exports.absoluteValue = (...params) => {

spec/absoluteValueSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { absoluteValue } = require('../lib/absoluteValue');
22

33
describe('absoluteValue', () => {
44
it('should return the absolute value of all parameters, given that all parameters evaluate to numbers', () => {
5-
const result = absoluteValue(1.6,-2.3325, -9007199254740990, 596960, 3938475, +'-395757');
5+
const result = absoluteValue(1.6, -2.3325, -9007199254740990, 596960, 3938475, +'-395757');
66
expect(result).toEqual([1.6, 2.3325, 9007199254740990, 596960, 3938475, 395757]);
77
});
88

0 commit comments

Comments
 (0)