Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: test description in Project Euler 21
  • Loading branch information
PraneethJain authored Aug 12, 2023
commit c477edd604b77c737d3f667de07ee17a1d1b19be
2 changes: 1 addition & 1 deletion Project-Euler/test/Problem021.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { problem21 } from '../Problem021.js'

describe('checking nth prime number', () => {
describe('check sum of amicable numbers under n', () => {
test('should be invalid input if number is negative', () => {
expect(() => problem21(-1)).toThrowError('Invalid Input')
})
Expand Down