Closed shootingfly closed 5 years ago
https://github.com/onyxframework/onyx/blob/d51591b22cf97924d2bc5d611e146309250da168/src/onyx/http/spec.cr#L83-L86
Because the parameter name is the same as the method name, the assert always be true.
Example. https://play.crystal-lang.org/#/r/6v7p
That's a bug! 🐛
https://github.com/onyxframework/onyx/blob/d51591b22cf97924d2bc5d611e146309250da168/src/onyx/http/spec.cr#L83-L86
Because the parameter name is the same as the method name, the assert always be true.
Example. https://play.crystal-lang.org/#/r/6v7p