diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2024-12-05 13:34:46 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2024-12-05 13:34:46 -0500 |
| commit | 5849e2ad7323f086bd6edf221b29e3f0b2b7cbd3 (patch) | |
| tree | bb437c98f3661b5a3ac9d721dadd2c7b6e629692 /.config/coc/extensions/node_modules/coc-go/lib/utils/tests.test.js | |
| parent | 6e5c51a6ee731e17e81cc5e23867dbd4ddc006e0 (diff) | |
Removed Useless Configs
Diffstat (limited to '.config/coc/extensions/node_modules/coc-go/lib/utils/tests.test.js')
| -rw-r--r-- | .config/coc/extensions/node_modules/coc-go/lib/utils/tests.test.js | 21 |
1 files changed, 0 insertions, 21 deletions
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 70d0801..0000000 --- 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, (0, tests_1.extractFunctionName)(line)); - }); - }); -}); -//# sourceMappingURL=tests.test.js.map
\ No newline at end of file |
