aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2017-04-29 01:37:47 -0400
committerRichard Gibson <richard.gibson@gmail.com>2017-04-29 01:37:47 -0400
commit00cc67af23bf9cf2cdbaeaeee6ded76baf0292f0 (patch)
tree861684b501573f1629b48dbadec9fff5e283df4f /test
parente94b5b0bbf8d8179bc79ab749470e71092225862 (diff)
downloadjquery-00cc67af23bf9cf2cdbaeaeee6ded76baf0292f0.tar.gz
jquery-00cc67af23bf9cf2cdbaeaeee6ded76baf0292f0.zip
Tests: Correct expected assertion count
Ref e94b5b0bbf8d8179bc79ab749470e71092225862
Diffstat (limited to 'test')
-rw-r--r--test/unit/offset.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/offset.js b/test/unit/offset.js
index b128d3347..d1fad57fa 100644
--- a/test/unit/offset.js
+++ b/test/unit/offset.js
@@ -667,7 +667,7 @@ QUnit.test( "chaining", function( assert ) {
scrollLeft = win.pageXOffset,
expectations = getExpectations( htmlPos, bodyPos, scrollTop, scrollLeft );
- assert.expect( 1 + 3 * Object.keys( expectations ).length );
+ assert.expect( 3 * Object.keys( expectations ).length );
// Setup documentElement and body styles, preserving scroll position
doc.documentElement.style.position = htmlPos;