Skip to content

Commit f3ec996

Browse files
fix: Code style fixes
1 parent 47ded10 commit f3ec996

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Maths/test/MobiusFunction.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const expectedValuesArray = [1, -1, -1, 0, -1, 1, -1, 0, 0, 1, -1, 0, -1, 1, 1,
44

55
describe('Testing mobius function', () => {
66
for (let i = 1; i <= 100; i++) {
7-
it('Testing for number = '+i+', should return '+expectedValuesArray[i], () => {
8-
expect(mobiusFunction(i)).toBe(expectedValuesArray[i-1])
7+
it('Testing for number = ' + i + ', should return ' + expectedValuesArray[i], () => {
8+
expect(mobiusFunction(i)).toBe(expectedValuesArray[i - 1])
99
})
1010
}
1111

@@ -18,4 +18,4 @@ describe('Testing mobius function', () => {
1818
const actualMessage = mobiusFunction(0)
1919
expect(actualMessage).toBe('Number must be greater than zero.')
2020
})
21-
})
21+
})

0 commit comments

Comments
 (0)