Log Message:
-----------
Fixed typo. Reported by Kevin Frost.
Modified Paths:
--------------
users/theory/Test.Simple/trunk/Changes
users/theory/Test.Simple/trunk/lib/Test/Builder.js
users/theory/Test.Simple/trunk/lib/Test/Harness/Browser.js
Modified: users/theory/Test.Simple/trunk/Changes
===================================================================
--- users/theory/Test.Simple/trunk/Changes 2006-03-05 05:46:26 UTC (rev 474)
+++ users/theory/Test.Simple/trunk/Changes 2006-03-15 01:05:48 UTC (rev 475)
@@ -3,6 +3,7 @@
0.22
- Added note to the documentation of "canOK()" explaining why it doesn't
work for objects based on prototypes created from anonymous classes.
+ - Fixed CSS typo for failure output. Thanks to Kevin Frost for the spot!
0.21 2005-08-29T17:16:33
- Moved source code to JSAN Subversion repository. Check it out at
Modified: users/theory/Test.Simple/trunk/lib/Test/Builder.js
===================================================================
--- users/theory/Test.Simple/trunk/lib/Test/Builder.js 2006-03-05 05:46:26 UTC (rev 474)
+++ users/theory/Test.Simple/trunk/lib/Test/Builder.js 2006-03-15 01:05:48 UTC (rev 475)
@@ -593,7 +593,7 @@
this.output(writer);
this.failureOutput(function (msg) {
- writer('<span style="color: red; font-weight: boldvv">'
+ writer('<span style="color: red; font-weight: bold">'
+ msg + '</span>')
});
this.todoOutput(writer);
Modified: users/theory/Test.Simple/trunk/lib/Test/Harness/Browser.js
===================================================================
--- users/theory/Test.Simple/trunk/lib/Test/Harness/Browser.js 2006-03-05 05:46:26 UTC (rev 474)
+++ users/theory/Test.Simple/trunk/lib/Test/Harness/Browser.js 2006-03-15 01:05:48 UTC (rev 475)
@@ -104,8 +104,8 @@
Test.Harness.Browser.prototype._setupOutput = function () {
// Setup the pre element for test output.
- var node = document.createElement("pre");
- node.setAttribute("id", "output");
+ var node = document.createElement('pre');
+ node.setAttribute('id', 'output');
document.body.appendChild(node);
return {
pass: function (msg) {
@@ -114,8 +114,8 @@
|| document.body.scrollHeight);
},
fail: function (msg) {
- var red = document.createElement("span");
- red.setAttribute("style", "color: red; font-weight: bold");
+ var red = document.createElement('span');
+ red.setAttribute('style', 'color: red; font-weight: bold');
node.appendChild(red);
red.appendChild(document.createTextNode(msg));
window.scrollTo(0, document.body.offsetHeight