diff options
Diffstat (limited to 'test/ruby/test_lambda.rb')
-rw-r--r-- | test/ruby/test_lambda.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ruby/test_lambda.rb b/test/ruby/test_lambda.rb index 53a7562c8e..5687722c31 100644 --- a/test/ruby/test_lambda.rb +++ b/test/ruby/test_lambda.rb @@ -1,6 +1,14 @@ require 'test/unit' class TestLambdaParameters < Test::Unit::TestCase + def test_not_supported + flunk("YARV doesn't support NODE_LAMBDA") + end +end + +__END__ + +class TestLambdaParametersBackup def test_call_simple assert_equal(1, ->(a){ a }.call(1)) assert_equal([1,2], ->(a,b){ [a,b] }.call(1,2)) |