Skip to content

Commit

Permalink
missed one "Check"
Browse files Browse the repository at this point in the history
  • Loading branch information
appgurueu authored Oct 4, 2023
1 parent 21c42c9 commit eac5a0f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('CircularDoublyLinkedList', () => {
* @param {Array} elements - The elements to append.
* @returns {CircularDoublyLinkedList} - The created list.
*/
function createAndAppend (elements) {
function createAndAppend(elements) {
const list = new CircularDoublyLinkedList()
elements.forEach((element) => list.append(element))
return list
Expand All @@ -21,7 +21,7 @@ describe('CircularDoublyLinkedList', () => {
expect(list.toArray()).toEqual([1, 2])
})

it('Check insert', () => {
it('insert', () => {
const list = createAndAppend([1])

list.insert(0, 20)
Expand Down

0 comments on commit eac5a0f

Please sign in to comment.