Fix another stupid bug from a rewrite
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Wed, 13 Apr 2011 08:26:19 -0600
changeset 60 9c1dd060cb0c
parent 59 4b0ea34b37c4
child 61 7dee1a3d81fd
Fix another stupid bug from a rewrite
autoimplementation.html
--- a/autoimplementation.html	Wed Apr 13 08:07:18 2011 -0600
+++ b/autoimplementation.html	Wed Apr 13 08:26:19 2011 -0600
@@ -835,7 +835,7 @@
 		+ "<button onclick=\"runTests('" + command + "')\">Run tests</button>"
 		+ (command in notes ? "<p>" + notes[command] : "")
 		+ "<table border=1><tr><th>Input <th>Spec <th>Browser <th>Same?</table>"
-		+ (command in doubleTestingCommands ? "<table border=1><tr><th>Input <th>Spec <th>Browser <th>Same?</table>" : "")
+		+ (doubleTestingCommands.indexOf(command) != -1 ? "<table border=1><tr><th>Input <th>Spec <th>Browser <th>Same?</table>" : "")
 		+ "<p><label>New test input: <input></label>"
 		+ (command in defaultValues ? "<label>New test value: <input></label>" : "")
 		+ "<button onclick=\"addTest('" + command + "')\">Add test</button>";