Export to GitHub

specs - issue #80

haveSameElementsAs prints the iterables in wrong order


Posted on Jun 17, 2009 by Happy Hippo

List(1,2) must haveSameElementsAs(List(3,4))

produces

'[3, 4]' doesn't have the same elements as '[1, 2]'

It should produce

'[1, 2]' doesn't have the same elements as '[3, 4]'

For example the equalTo matcher prints the compared objects in that order

specs version 1.5.0

Comment #1

Posted on Jun 22, 2009 by Massive Giraffe

This issue was closed by r1057.

Comment #2

Posted on Jun 27, 2009 by Massive Giraffe

The fix is available in 1.5.1-SNAPSHOT

Comment #3

Posted on Feb 14, 2010 by Massive Giraffe

(No comment was entered for this change.)

Status: Verified

Labels:
Type-Defect Priority-Medium