Skip to content

start using tap.match in unit tests #256

@jamestalmage

Description

@jamestalmage

We have lots of assertions on regular expressions, but we are using tap.true(regex.test(...)) and similar. When these fail, the reporter outputs really terrible info ("expected true got false" is the gist).
Using tap.match provides more information.

There are a number of PR's open right now, so let's wait to do that cleanup until some of the big ones have been merged.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions