alexruiz / fest-assert-2.x

FEST Fluent Assertions 2.x
http://fest.easytesting.org
Apache License 2.0
402 stars 69 forks source link

hasSize() assertion should take a long parameter instead of int #141

Closed joel-costigliola closed 11 years ago

joel-costigliola commented 11 years ago

It will make the API a little bit more flexible.

alexruiz commented 11 years ago

Why? All size and length methods/fields in arrays, Strings and collections are ints.

joel-costigliola commented 11 years ago

You are right, I had some counter defined as long and had to cast them to int but my problem was really the counter not the int param. I'm closing this 'non' issue.