diff --git a/curriculum/challenges/english/08-coding-interview-prep/data-structures/create-a-queue-class.english.md b/curriculum/challenges/english/08-coding-interview-prep/data-structures/create-a-queue-class.english.md
index e4a9b2c531..2f9665c081 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/data-structures/create-a-queue-class.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/data-structures/create-a-queue-class.english.md
@@ -34,7 +34,7 @@ tests:
- text: Your Queue
class should have an isEmpty
method.
testString: assert((function(){var test = new Queue(); return (typeof test.isEmpty === 'function')}()), 'Your Queue
class should have an isEmpty
method.');
- text: The dequeue
method should remove and return the front element of the queue
- testString: assert((function(){var test = new Queue(); test.enqueue('Smith'); return (test.dequeue() === 'Smith')}()), 'The dequeue
method should remove and return the front element of the queue');
+ testString: assert((function(){var test = new Queue(); test.enqueue('Smith'); test.enqueue('John'); return (test.dequeue() === 'Smith')}()), 'The dequeue
method should remove and return the front element of the queue');
- text: The front
method should return value of the front element of the queue
testString: assert((function(){var test = new Queue(); test.enqueue('Smith'); test.enqueue('John'); return (test.front() === 'Smith')}()), 'The front
method should return value of the front element of the queue');
- text: The size
method should return the length of the queue