fix: fix iteration in fixed queue if start > size
[poolifier.git] / tests / fixed-priority-queue.test.mjs
index 7a1506906817ee1c0c8022b5708777b69ad672f2..ef238aefe79c6ff104775b86f4010d83296aa8ae 100644 (file)
@@ -8,7 +8,7 @@
 // describe('Fixed priority queue test suite', () => {
 //   it('Verify constructor() behavior', () => {
 //     expect(() => new FixedPriorityQueue('')).toThrow(
-//       new TypeError('Invalid fixed priority queue size: '' is not an integer')
+//       new TypeError("Invalid fixed priority queue size: '' is not an integer")
 //     )
 //     expect(() => new FixedPriorityQueue(-1)).toThrow(
 //       new RangeError('Invalid fixed priority queue size: -1 < 0')