sreedharkesarla / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

Condition rendering: Show type information if both sides of equals comparison have same string representation #233

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This code:

def a = 5
def b = "5"

expect: a == b

should print:

a == b
|        |
|        5 (java.lang.String)
5 (java.lang.Integer)

Original issue reported on code.google.com by pnied...@gmail.com on 18 Feb 2012 at 6:48

GoogleCodeExporter commented 8 years ago
correction: should print:

a == b
|    |
|    5 (java.lang.String)
5 (java.lang.Integer)

Original comment by pnied...@gmail.com on 18 Feb 2012 at 7:11

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 20 Feb 2012 at 12:21