(a, b, msg)
| 113 | if (a.line != b.line || a.ch != b.ch) throw new Failure(label(str(a) + " != " + str(b), msg)); |
| 114 | } |
| 115 | function eqCursorPos(a, b, msg) { |
| 116 | eqCharPos(a, b, msg); |
| 117 | if (a) eq(a.sticky, b.sticky, msg ? msg + ' (sticky)' : 'sticky'); |
| 118 | } |
| 119 | function is(a, msg) { |
| 120 | if (!a) throw new Failure(label("assertion failed", msg)); |
| 121 | } |
no test coverage detected