extglob-ending-with-state-char.js 200 B

12345678
  1. var test = require('tap').test
  2. var minimatch = require('../')
  3. test('extglob ending with statechar', function(t) {
  4. t.notOk(minimatch('ax', 'a?(b*)'))
  5. t.ok(minimatch('ax', '?(a*|b)'))
  6. t.end()
  7. })