Oops, used the wrong todo function.

This commit is contained in:
L. David Baron 2008-07-26 12:56:49 -07:00
parent 1b8a316bcf
commit 10550d9783

View File

@ -88,7 +88,7 @@ extracted from the test framework there and put into Mochitest.
var check = function (c, e, knownfail) {
count += 1;
var p = doc.getElementById(c);
(knownfail ? todo : is)(doc.defaultView.getComputedStyle(p, '').textTransform, e ? 'uppercase' : 'none', "case " + c + " failed (index " + count + ")");
(knownfail ? todo_is : is)(doc.defaultView.getComputedStyle(p, '').textTransform, e ? 'uppercase' : 'none', "case " + c + " failed (index " + count + ")");
}
check('a', true); // 1
check('b', false);