(name, keys, endPos, startPos)
| 410 | } |
| 411 | |
| 412 | function testMotionWithFolding(name, keys, endPos, startPos) { |
| 413 | testVim(name, function (cm, vim, helpers) { |
| 414 | cm.foldCode(startPos); |
| 415 | cm.foldCode(endPos); |
| 416 | cm.setCursor(startPos); |
| 417 | helpers.doKeys(keys); |
| 418 | helpers.assertCursorAt(endPos) |
| 419 | }) |
| 420 | } |
| 421 | |
| 422 | function makeCursor(line, ch) { |
| 423 | return new Pos(line, ch); |
no test coverage detected
searching dependent graphs…