diff options
| author | Chris Rebert <[email protected]> | 2015-02-23 22:41:08 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-02-23 22:43:17 -0800 |
| commit | 9c75c855c6bba0e9ef9facc7c948612cd0c2a855 (patch) | |
| tree | 6c9e9a7cb2897a684b38cd4e69193d4286564563 /js/tests/unit/carousel.js | |
| parent | 118b8c2695d026f1cad6cffc177d9672d9903ce9 (diff) | |
| download | bootstrap-9c75c855c6bba0e9ef9facc7c948612cd0c2a855.tar.xz bootstrap-9c75c855c6bba0e9ef9facc7c948612cd0c2a855.zip | |
JS unit tests: equal() => strictEqual()
[skip validator]
Diffstat (limited to 'js/tests/unit/carousel.js')
| -rw-r--r-- | js/tests/unit/carousel.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index e0ed4f89b..2044b1408 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -327,19 +327,19 @@ $(function () { $carousel.appendTo('body') $('[data-slide]').first().click() - assert.equal($carousel.data('bs.carousel').options.interval, 1814) + assert.strictEqual($carousel.data('bs.carousel').options.interval, 1814) $carousel.remove() $carousel.appendTo('body').attr('data-modal', 'foobar') $('[data-slide]').first().click() - assert.equal($carousel.data('bs.carousel').options.interval, 1814, 'even if there is an data-modal attribute set') + assert.strictEqual($carousel.data('bs.carousel').options.interval, 1814, 'even if there is an data-modal attribute set') $carousel.remove() $carousel.appendTo('body') $('[data-slide]').first().click() $carousel.attr('data-interval', 1860) $('[data-slide]').first().click() - assert.equal($carousel.data('bs.carousel').options.interval, 1814, 'attributes should be read only on initialization') + assert.strictEqual($carousel.data('bs.carousel').options.interval, 1814, 'attributes should be read only on initialization') $carousel.remove() $carousel.attr('data-interval', false) |
