waterlink / spec2.cr

Enhanced `spec` testing library for [Crystal](http://crystal-lang.org/).
MIT License
103 stars 22 forks source link

Change to method to pass a testing #57

Closed tobyapi closed 6 years ago

tobyapi commented 7 years ago

I removed the raise keyword to pass the be_close(expected, delta) testing when in delta-proximity. Crystal : v0.23.1

maiha commented 6 years ago

@waterlink I'm facing the same problem. Could you merge this? :pray:

ThunderKey commented 6 years ago

This change just ignores any expectation. For example expect("some string").to be "another string" is seen as no failure.

I've fixed it in the pull request #60