ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/LinkedListTest.java
(Generate patch)

Comparing jsr166/src/test/tck/LinkedListTest.java (file contents):
Revision 1.28 by jsr166, Tue May 31 16:16:24 2011 UTC vs.
Revision 1.29 by jsr166, Sat Nov 26 05:19:17 2011 UTC

# Line 411 | Line 411 | public class LinkedListTest extends JSR1
411          q.add(new Integer(2));
412          q.add(new Integer(3));
413          Iterator it = q.iterator();
414 <        assertEquals(it.next(), 1);
414 >        assertEquals(1, it.next());
415          it.remove();
416          it = q.iterator();
417 <        assertEquals(it.next(), 2);
418 <        assertEquals(it.next(), 3);
417 >        assertEquals(2, it.next());
418 >        assertEquals(3, it.next());
419          assertFalse(it.hasNext());
420      }
421  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines