/node_modules/minimatch/test/extglob-ending-with-state-char.js
https://bitbucket.org/coleman333/smartsite · JavaScript · 8 lines · 7 code · 1 blank · 0 comment · 0 complexity · e59a904d10eabad09e4511694cbb2d2d MD5 · raw file
- 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()
- })