fluffynuts / NExpect

An assertions framework for .NET with a BDD-like feel, inspired by Chai and Jasmine, designed to be user-extensible
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

feat: Equal extension handles Actual and Expected values of different types #3

Closed cobussmit74 closed 7 years ago

cobussmit74 commented 7 years ago

Hey Dav

This is obviously great when you have ints, longs, decimals, and so on, but it also has the side effect of allowing 1(int) and "1"(string) to be matched successfully. I'm not sure if this is a desired effect.

Cheers Cobus

cobussmit74 commented 7 years ago

I've updated the commit to what we discussed.