Sha256: 4adf49db65eeca0c2826bd0e5c21980b3b9a497c3364302046059b2ea1a08e19

Contents?: true

Size: 256 Bytes

Versions: 76

Compression:

Stored size: 256 Bytes

Contents

var Glob = require('../glob.js').Glob;
var test = require('tap').test;

test('new glob, with cb, and no options', function (t) {
  new Glob(__filename, function(er, results) {
    if (er) throw er;
    t.same(results, [__filename]);
    t.end();
  });
});

Version data entries

76 entries across 47 versions & 9 rubygems

Version Path
trans-0.5.10 template/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.10 template/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.10 template/node_modules/gulp/node_modules/liftoff/node_modules/findup-sync/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.10 template/node_modules/grunt/node_modules/findup-sync/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.10 template/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.9 template/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.9 template/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.9 template/node_modules/gulp/node_modules/liftoff/node_modules/findup-sync/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.9 template/node_modules/grunt/node_modules/findup-sync/node_modules/glob/test/new-glob-optional-options.js
trans-0.5.9 template/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/cli/node_modules/glob/test/new-glob-optional-options.js
pleeease-0.0.3 node_modules/pleeease/node_modules/multi-glob/node_modules/glob/test/new-glob-optional-options.js
pleeease-0.0.2 node_modules/pleeease/node_modules/multi-glob/node_modules/glob/test/new-glob-optional-options.js
stylus-source-0.42.2 vendor/node_modules/glob/test/new-glob-optional-options.js
stylus-source-0.42.1 vendor/node_modules/glob/test/new-glob-optional-options.js
stylus-source-0.42.0 vendor/node_modules/glob/test/new-glob-optional-options.js
cssesc-source-0.1.0 vendor/node_modules/istanbul/node_modules/fileset/node_modules/glob/test/new-glob-optional-options.js