groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Echlin <jamie.ech...@gmail.com>
Subject Re: Should PowerAsserts be more verbose?
Date Tue, 25 Aug 2015 13:41:59 GMT
I would like to see type info added if the string representation is the
same, eg:

assert x == y
       | |  |
       | |  [1, 2]
       | false
       [1, 2]

is confusing but explained by:

def x = [1, 2]
def y = [1, 2] as Set
assert x == y

Adding it at other times might be a bit noisy.

cheers, jamie

Mime
View raw message