Skip to content

Commit

Permalink
Make rubocop happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Mar 2, 2023
1 parent aafb8d1 commit 77d5b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/core_ext/kernel_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

it "must not rescue SyntaxError exceptions" do
expect {
try { eval("\"syntax error") }
try { eval("\"syntax error", binding, __FILE__, __LINE__) }
}.to raise_error(SyntaxError)
end
end
Expand Down

0 comments on commit 77d5b4b

Please sign in to comment.