Fix parasitic transitivity of setPreviousStatement and setNextStatement.

This commit is contained in:
Neil Fraser
2014-11-04 12:27:27 -08:00
parent c31e8dc4ca
commit 01a9750806
2 changed files with 10 additions and 5 deletions

View File

@@ -86,7 +86,8 @@ Blockly.JavaScript['unittest_main'].defineAssert_ = function(block) {
' function equals(a, b) {',
' if (a === b) {',
' return true;',
' } else if ((typeof a == "number") && (typeof b == "number") && (a.toPrecision(15) == b.toPrecision(15))) {',
' } else if ((typeof a == "number") && (typeof b == "number") &&',
' (a.toPrecision(15) == b.toPrecision(15))) {',
' return true;',
' } else if (a instanceof Array && b instanceof Array) {',
' if (a.length != b.length) {',