From 9bd9d270f69582b119b1835da4419a900f975b6b Mon Sep 17 00:00:00 2001 From: rwldrn Date: Mon, 10 Jan 2011 13:17:08 -0500 Subject: [PATCH] whitespace fixes in unit tests --- test/unit/css.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/test/unit/css.js b/test/unit/css.js index edc340c..3e65b51 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -322,23 +322,23 @@ test(":visible selector works properly on children with a hidden parent (bug #45 }); test("internal ref to elem.runtimeStyle (bug #7608)", function () { - expect(1); - - var result = true, - val = 10; - - jQuery('
' + - '
 
').appendTo("body"); - - try { - // the bug is located within src/css.js - jQuery("#bug7608 #test").animate( { width: val }, 1000); - - } catch (e) { - result = false; - } - - ok( result, "elem.runtimeStyle does not throw exception" ); + expect(1); + + var result = true, + val = 10; + + jQuery('
' + + '
 
').appendTo("#main"); + + try { + // the bug is located within src/css.js + jQuery("#bug7608 #test").animate( { width: val }, 1000); + + } catch (e) { + result = false; + } + + ok( result, "elem.runtimeStyle does not throw exception" ); - jQuery("#bug7608").remove(); + jQuery("#bug7608").remove(); }); -- 1.7.10.4