diff options
-rw-r--r-- | tests/unit/tabs/helper.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/tabs/helper.js b/tests/unit/tabs/helper.js index 073895f5f..8c102ec60 100644 --- a/tests/unit/tabs/helper.js +++ b/tests/unit/tabs/helper.js @@ -47,7 +47,10 @@ return $.extend( helper, { equalHeight: function( tabs, height ) { tabs.find( ".ui-tabs-panel" ).each( function() { - equal( $( this ).outerHeight(), height ); + + // Handle overly-precise values + var actualHeight = parseFloat( $( this ).outerHeight().toFixed( 1 ) ); + equal( actualHeight, height ); } ); }, |