(a, b)
| 107 | |
| 108 | |
| 109 | function eqCursorPos(a, b) { |
| 110 | if (a.line != b.line || a.ch != b.ch) |
| 111 | throw failure( |
| 112 | "Expected cursor position " + |
| 113 | JSON.stringify([a.line, a.ch]) + |
| 114 | " to be equal to " + |
| 115 | JSON.stringify([b.line, b.ch]), |
| 116 | eqCursorPos |
| 117 | ); |
| 118 | } |
| 119 | function eq(a, b, _reason) { |
| 120 | if(a != b) |
| 121 | throw failure("Expected " + a + " to be equal to " + b, eq); |
no test coverage detected
searching dependent graphs…