waterlink / spec2.cr

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

crystal 0.25.0 compatibility #67

Open fridgerator opened 6 years ago

fridgerator commented 6 years ago
Syntax error in expanded macro: __spec2_def_let:3: unexpected token: (

      @_(response) : LetProtocol?
maiha commented 6 years ago

I faced same problem, and found that it was caused by crystal breaking changes about macros. Could you try to delete the space immediately after the let?

-let (response) {...
+let(response) {...