Merge pull request #55 from Hikelio/master

add tip about parentheses in regex in AboutMethods
This commit is contained in:
Tony Schneider
2026-01-10 08:31:33 -05:00
committed by GitHub

View File

@@ -39,6 +39,7 @@ class AboutMethods < Neo::Koan
# 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