Skip to content

Documentation and assert.equals error message still reference deprecated (removed) defined assertion #184

Description

@gundelsby

What did you expect to happen?
Documentation should be up to date.
Error messages from assertions should be accurate.

What actually happens
Documentation still lists the predefined assert defined, and not isUndefined.
Error message from predefined assert equals gives the following error message if the expectiation value is undefined:

AssertionError: [assert.equals] Expectation for equals should not be undefined. Use assert.defined or refute.defined instead.

How to reproduce
assert.equals('not undefined', undefined)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions