Skip to content

issue matching about_methods #22

@georgettica

Description

@georgettica

when running thought the path_to_enlightment I got to this and what I saw:

assert_match(/__/, exception.message)

and the result of this test is:

The answers you seek...
  Expected "wrong number of arguments (given 0, expected 2)" to match /__/

Please meditate on the following code:
  **koans/about_methods.rb:39:in `test_calling_global_methods_with_wrong_number_of_arguments'

and I think the result should be:

assert_match(exception.message, /wrong number of arguments/)

if I am incorrect or misguided please notify me.

link to assumed code change

assert_match(/#{__(pattern)}/, exception.message)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions