Skip to content

Export strict assertion mode functions #406

Description

@strugee

Apparently Node core now has a strict assertion mode, and the old behavior ("legacy assertion mode") is deprecated. See https://nodejs.org/api/assert.html#assert_strict_assertion_mode.

I think we should probably make require('vows').assert export strict mode functions, since the legacy mode functions a) are deprecated and b) cause surprising results since they use ==. Assuming we do this, we should do it before 1.0.0 final because it's a breaking change.

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions