diff --git a/tests/unit/selectmenu/options.js b/tests/unit/selectmenu/options.js index 4a070f4eb..7e716394c 100644 --- a/tests/unit/selectmenu/options.js +++ b/tests/unit/selectmenu/options.js @@ -101,7 +101,7 @@ QUnit.test( "width", function( assert ) { assert.equal( button[ 0 ].style.width, "", "no inline style" ); element.selectmenu( "option", "width", null ); - assert.equal( button.outerWidth(), element.outerWidth(), "button width auto" ); + assert.close( button.outerWidth(), element.outerWidth(), 0.01, "button width auto" ); element.outerWidth( 100 ); element.selectmenu( "refresh" ); @@ -117,7 +117,8 @@ QUnit.test( "width", function( assert ) { .append( $( "