git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008e971
)
Update number of expected assertions in attribute tests
author
Anton M
<haskell_noob-github@yahoo.de>
Tue, 19 Oct 2010 09:14:07 +0000
(11:14 +0200)
committer
Anton M
<haskell_noob-github@yahoo.de>
Tue, 19 Oct 2010 09:14:07 +0000
(11:14 +0200)
Followup to commit
97dfa0d5a85a32fe56aba837bbf2bc889b092d2b
which
had the side effect to break some attribute unit tests
test/unit/attributes.js
patch
|
blob
|
history
diff --git
a/test/unit/attributes.js
b/test/unit/attributes.js
index
c6007aa
..
10f7b19
100644
(file)
--- a/
test/unit/attributes.js
+++ b/
test/unit/attributes.js
@@
-512,7
+512,7
@@
test("addClass(Function)", function() {
});
test("addClass(Function) with incoming value", function() {
- expect(41);
+ expect(45);
var div = jQuery("div"), old = div.map(function(){
return jQuery(this).attr("class");
@@
-585,7
+585,7
@@
test("removeClass(Function) - simple", function() {
});
test("removeClass(Function) with incoming value", function() {
- expect(41);
+ expect(45);
var $divs = jQuery('div').addClass("test"), old = $divs.map(function(){
return jQuery(this).attr("class");