--- a/tests.js Fri Jul 29 15:05:28 2011 -0600
+++ b/tests.js Fri Jul 29 15:08:40 2011 -0600
@@ -3764,7 +3764,12 @@
value = null;
}
- if (/^justify(center|full|left|right)$/.test(command)) {
+ if (command == "createlink" && value === "") {
+ // It should just do nothing.
+ afterDiv.lastChild.className = beforeValue === afterValue
+ ? "good-result"
+ : "bad-result";
+ } else if (/^justify(center|full|left|right)$/.test(command)) {
// We know there are only four correct values beforehand, and afterward
// the value has to be the one we set.
if (!/^(center|justify|left|right)$/.test(beforeValue)) {