diff --git a/src/about_methods.rb b/src/about_methods.rb index 78865269..c60e8f4d 100644 --- a/src/about_methods.rb +++ b/src/about_methods.rb @@ -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