# | Line 327 | Line 327 | public class PriorityQueueTest extends J | |
---|---|---|
327 | try { | |
328 | q.remove(); | |
329 | shouldThrow(); | |
330 | < | } catch (NoSuchElementException success){ |
330 | > | } catch (NoSuchElementException success) { |
331 | } | |
332 | } | |
333 | ||
# | Line 506 | Line 506 | public class PriorityQueueTest extends J | |
506 | assertEquals(q.size(), r.size()); | |
507 | while (!q.isEmpty()) | |
508 | assertEquals(q.remove(), r.remove()); | |
509 | < | } catch (Exception e){ |
509 | > | } catch (Exception e) { |
510 | unexpectedException(); | |
511 | } | |
512 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |