Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/about_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def test_sometimes_missing_parentheses_are_ambiguous

# NOTE: wrong number of arguments is not a SYNTAX error, but a
# runtime error.
# tip: When regex contains parentheses, you must escape them with backslash.
def test_calling_global_methods_with_wrong_number_of_arguments
exception = assert_raise(___(ArgumentError)) do
my_global_method
Expand Down