Skip to content
Permalink
Browse files

Updates css() tests to use hex rather than color names

  • Loading branch information
wycats committed Jul 13, 2009
1 parent 3595102 commit 4ae7234736fd501110a7bf2acea6cc68e24bd4cd
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/css.js
@@ -85,7 +85,7 @@ test("css(String, Function)", function() {
try {
expect(3);

var colors = ["red", "green", "blue"];
var colors = ["#ff0000", "#00ff00", "#0000ff"];

jQuery("<div id='cssFunctionTest'><div class='cssFunction'></div>" +
"<div class='cssFunction'></div>" +
@@ -116,7 +116,7 @@ test("css(Object) where values are Functions", function() {
try {
expect(3);

var colors = ["red", "green", "blue"];
var colors = ["#ff0000", "#00ff00", "#0000ff"];

jQuery("<div id='cssFunctionTest'><div class='cssFunction'></div>" +
"<div class='cssFunction'></div>" +

0 comments on commit 4ae7234

Please sign in to comment.
You can’t perform that action at this time.