Skip to content

Whitespace issue in funit assert_array_equal #3

Description

@dronir

Hi,

In funit, the regular expression for assert_array_equal is doesn't allow whitespace. This means that assert_array_equal(a,b) works, but assert_array_equal(a, b) throws an error that can be a bit cryptic. One would expect it to work like assert_equal, where both work.

The relevant line of code is

line.match(/\((\w+),(\w+)\)/)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions