assert-equal

Assert that two values are equal

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
assert-equal
001.0.07 years ago7 years agoMinified + gzip package size for assert-equal in KB

Readme

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