Forgus / spock

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

Unmatched invocation description to include types #377

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
On some occasions I'll have a mock not match its interaction because of the 
types. One problem is diagnosing it, because the output looks identical:

    Too few invocations for:

    1 * client.shareImages(['ami-12345de'], '12345678')   (0 invocations)

    Unmatched invocations (ordered by similarity):

    1 * client.shareImages(['ami-12345de'], '12345678')

Via pniederw@gmail.com: We should be able to come up with a better error 
message here.

Original issue reported on code.google.com by quidr...@gmail.com on 13 Oct 2014 at 4:29