diff --git a/test/lambda_test.rb b/test/lambda_test.rb index 3486a7b..f4bbf00 100644 --- a/test/lambda_test.rb +++ b/test/lambda_test.rb @@ -64,7 +64,9 @@ def test_block_braces_one_line end def test_block_do_end_one_line + # rubocop:disable Style/SingleLineDoEndBlock block = return_block do |x, y| x - y end + # rubocop:enable Style/SingleLineDoEndBlock expected = binop_block(:return_block, :-)