Tabs: Removed back-compat filter in tests for negative active option.

This commit is contained in:
Scott González 2012-10-25 06:00:18 -04:00
parent 3d6c2a66d4
commit 056f83fb01

View File

@ -73,8 +73,7 @@ test( "{ active: Number }", function() {
state( element, 0, 1, 0 );
});
if ( $.uiBackCompat === false ) {
test( "{ active: -Number }", function() {
test( "{ active: -Number }", function() {
expect( 8 );
var element = $( "#tabs1" ).tabs({
@ -94,8 +93,7 @@ if ( $.uiBackCompat === false ) {
element.tabs( "option", "active", -3 );
equal( element.tabs( "option", "active" ), 0 );
state( element, 1, 0, 0 );
});
}
});
test( "active - mismatched tab/panel order", function() {
expect( 3 );