pixelnode/node_modules/minimatch/test/extglob-ending-with-state-char.js
2018-04-04 12:31:55 +02:00

9 lines
200 B
JavaScript

var test = require('tap').test
var minimatch = require('../')
test('extglob ending with statechar', function(t) {
t.notOk(minimatch('ax', 'a?(b*)'))
t.ok(minimatch('ax', '?(a*|b)'))
t.end()
})