From 4e5e31f29e2944ccf4bb349a4ed670f3e8c04ebf Mon Sep 17 00:00:00 2001 From: jeresig Date: Tue, 23 Mar 2010 12:31:40 -0400 Subject: [PATCH] Changed the order of the tests to run in the same order in which they're specified in the Makefile (fixed a dimensions test bug that popped up as a result). --- test/index.html | 19 ++++++++++--------- test/unit/dimensions.js | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/test/index.html b/test/index.html index 13abd97f9..be1f3632a 100644 --- a/test/index.html +++ b/test/index.html @@ -10,35 +10,36 @@ - - - + + + - - + + + - + + - - - + + diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js index 74405cee7..539779077 100644 --- a/test/unit/dimensions.js +++ b/test/unit/dimensions.js @@ -26,7 +26,7 @@ function testWidth( val ) { $div.css({ display: "", border: "", padding: "" }); - jQuery("#nothiddendivchild").css({ padding: "3px", border: "2px solid #fff" }); + jQuery("#nothiddendivchild").css({ width: 20, padding: "3px", border: "2px solid #fff" }); equals(jQuery("#nothiddendivchild").width(), 20, "Test child width with border and padding"); jQuery("#nothiddendiv, #nothiddendivchild").css({ border: "", padding: "", width: "" }); -- 2.39.5