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

Function eq

src/keyboard/vim_test.js:119–122  ·  view source on GitHub ↗
(a, b, _reason)

Source from the content-addressed store, hash-verified

117 );
118}
119function eq(a, b, _reason) {
120 if(a != b)
121 throw failure("Expected " + a + " to be equal to " + b, eq);
122}
123function is(a) {
124 if (!a) throw failure("Expected " + a + " to be truthy", is);
125}

Callers 6

vim_test.jsFile · 0.70
testFunction · 0.70
testEditFunction · 0.70
testSelectionFunction · 0.70
testSubstituteFunction · 0.70
testSubstituteConfirmFunction · 0.70

Calls 1

failureFunction · 0.85

Tested by 1

testFunction · 0.56