Code Review
/
vnfsdk
/
refrepo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug:Fix file validation issue
[vnfsdk/refrepo.git]
/
vnfmarket
/
src
/
main
/
webapp
/
vnfmarket
/
node_modules
/
fileset
/
node_modules
/
glob
/
test
/
new-glob-optional-options.js
1
var Glob = require('../glob.js').Glob;
2
var test = require('tap').test;
3
4
test('new glob, with cb, and no options', function (t) {
5
new Glob(__filename, function(er, results) {
6
if (er) throw er;
7
t.same(results, [__filename]);
8
t.end();
9
});
10
});