Sha256: 0c062b4560cfba06ad9310f669fc95ab3cf56bb49f1cd142ed887870e2cc4c80
Contents?: true
Size: 787 Bytes
Versions: 88
Compression:
Stored size: 787 Bytes
Contents
"use strict"; var _ava = _interopRequireDefault(require("ava")); var _stripComments = _interopRequireDefault(require("../../src/util/stripComments")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } (0, _ava.default)("stripComments()", function (t) { t.deepEqual((0, _stripComments.default)("aaa/**/bbb"), "aaabbb"); t.deepEqual((0, _stripComments.default)("aaa/*bbb"), "aaa"); t.deepEqual((0, _stripComments.default)("aaa/*xxx*/bbb"), "aaabbb"); t.deepEqual((0, _stripComments.default)("aaa/*/xxx/*/bbb"), "aaabbb"); t.deepEqual((0, _stripComments.default)("aaa/*x*/bbb/**/"), "aaabbb"); t.deepEqual((0, _stripComments.default)("/**/aaa/*x*/bbb/**/"), "aaabbb"); t.deepEqual((0, _stripComments.default)("/**/"), ""); });
Version data entries
88 entries across 50 versions & 10 rubygems