diff options
author | Alon Zakai <azakai@mozilla.com> | 2011-02-27 16:54:21 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2011-02-27 16:54:21 -0800 |
commit | 40ab3e284734cd54a4e1342cdd8df483b32078d4 (patch) | |
tree | 984f4bfe85a6dda7a203328dfc70d793a747a2f5 /src/parseTools.js | |
parent | 26ab22af91138dcad765cef82d312c99914b5093 (diff) |
debugging info and test runner fixes
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index a6a1038b..7d90e246 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -556,6 +556,7 @@ function indentify(text, indent) { // Correction tools function correctSpecificSign() { + assert(!(CORRECT_SIGNS === 2 && !Debugging.on), 'Need debugging for line-specific corrections'); return CORRECT_SIGNS === 2 && Debugging.getIdentifier(Framework.currItem.lineNum) in CORRECT_SIGNS_LINES; } function correctSigns() { @@ -563,6 +564,7 @@ function correctSigns() { } function correctSpecificOverflow() { + assert(!(CORRECT_SIGNS === 2 && !Debugging.on), 'Need debugging for line-specific corrections'); return CORRECT_OVERFLOWS === 2 && Debugging.getIdentifier(Framework.currItem.lineNum) in CORRECT_OVERFLOWS_LINES; } function correctOverflows() { |