assert-equal

1.0.0 • Public • Published

assert-equal Build Status

Assert that two values are equal

Install

$ npm install --save assert-equal

Usage

var assertEqual = require('assert-equal')
 
assertEqual(1, 1)
//=> (noop)
 
assertEqual(1, 2)
//=> throw new Error('expected `1` to equal `2`')

License

MIT © Ben Drucker

/assert-equal/

    Package Sidebar

    Install

    npm i assert-equal

    Weekly Downloads

    769

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • bendrucker