MCPcopy
hub / github.com/ajaxorg/ace / eqCursorPos

Function eqCursorPos

src/keyboard/vim_test.js:109–118  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

107
108
109function 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}
119function eq(a, b, _reason) {
120 if(a != b)
121 throw failure("Expected " + a + " to be equal to " + b, eq);

Callers 2

testVimFunction · 0.85
vim_test.jsFile · 0.85

Calls 1

failureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…