X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-go%2Flib%2Futils%2Ftests.test.js;fp=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-go%2Flib%2Futils%2Ftests.test.js;h=0000000000000000000000000000000000000000;hb=3ddadb3c98564791f0ac36cb39771d844a63dc91;hp=4f5038b024e649343e3894a506d456a312f6b5a2;hpb=5f797af6612ed10887189b47a1efc2f915586e59;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-go/lib/utils/tests.test.js b/.config/coc/extensions/node_modules/coc-go/lib/utils/tests.test.js deleted file mode 100644 index 4f5038b0..00000000 --- a/.config/coc/extensions/node_modules/coc-go/lib/utils/tests.test.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -const assert_1 = tslib_1.__importDefault(require("assert")); -const tests_1 = require("./tests"); -describe('extractFunctionName()', () => { - const cases = [ - ['', null], - ['\tfuncFoo()', null], - ['func Foo() {', 'Foo'], - ['func Foo() string {', 'Foo'], - ['func Foo(str string) string {', 'Foo'], - ['func (b *Bar) Foo(str string) string {', 'Foo'], - ]; - cases.forEach(([line, name]) => { - it(`should extract ${JSON.stringify(name)} from "${line}"`, () => { - assert_1.default.equal(name, tests_1.extractFunctionName(line)); - }); - }); -}); -//# sourceMappingURL=tests.test.js.map \ No newline at end of file