Follow-up to 100ed68642, forgot to remove one of the tests.

This commit is contained in:
jeresig 2009-12-17 14:18:15 -05:00
parent ed5731dcc4
commit 1d921e2171

View file

@ -184,7 +184,7 @@ test("attr(String, Object)", function() {
});
test("attr(jquery_method)", function(){
expect(8);
expect(7);
var $elem = jQuery("<div />"),
elem = $elem[0];
@ -196,9 +196,6 @@ test("attr(jquery_method)", function(){
$elem.attr('text', 'bar');
equals( elem.innerHTML, 'bar', 'attr(text)');
$elem.attr('addClass', 'css');
equals( elem.className, 'css', 'attr(addClass)');
$elem.attr('css', {color:'red'});
ok( /^(#ff0000|red)$/i.test(elem.style.color), 'attr(css)');