You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a syntax error when using jRuby resulting from the use of stabby lamdba's. Tested with jruby 1.7.16 in 1.9 mode, so likely to exist on earlier versions.
One example can be found in request_expectations.rb where -> (data) { expect(data.size).to eq(expected_size) }
could be replaced with ->(data) { expect(data.size).to eq(expected_size) }
to avoid syntax errors (note the removal of the space after the dash rocket).
The text was updated successfully, but these errors were encountered:
There is a syntax error when using jRuby resulting from the use of stabby lamdba's. Tested with jruby 1.7.16 in 1.9 mode, so likely to exist on earlier versions.
One example can be found in request_expectations.rb where
-> (data) { expect(data.size).to eq(expected_size) }
could be replaced with
->(data) { expect(data.size).to eq(expected_size) }
to avoid syntax errors (note the removal of the space after the dash rocket).
The text was updated successfully, but these errors were encountered: