New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial matching should better-handle differing collection types. #91

Open
MattHoneycutt opened this Issue Mar 3, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@MattHoneycutt
Owner

MattHoneycutt commented Mar 3, 2016

If you call a method that accepts an IEnumerable with an ObjectSet (or a List), but then use Looks.Like(() => new T[] ... ), the partial matching will fail. Looks.Like should attempt to coerce the two objects into similar types for comparison, or at the least throw a better error indicating what went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment