Commit d585f19a828c8a58ed921cffe6802d9f73451734
1 parent
36c10bd2
Exists in
master
and in
28 other branches
ActionItem93: adding assert_equivalent
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1028 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/test_helper.rb
... | ... | @@ -77,7 +77,7 @@ class Test::Unit::TestCase |
77 | 77 | end |
78 | 78 | |
79 | 79 | def assert_equivalent(enum1, enum2) |
80 | - assert((enum1 - enum2) == [] && (enum2 - enum1) == []), "<#{enum1.inspect}> expected to be equivalent to <#{enum2.inspect}>" | |
80 | + assert( ((enum1 - enum2) == []) && ((enum2 - enum1) == []), "<#{enum1.inspect}> expected to be equivalent to <#{enum2.inspect}>") | |
81 | 81 | end |
82 | 82 | |
83 | 83 | private | ... | ... |