Sign in
apache
/
cordova-firefoxos
/
b2b43200d94a5ec90e57fec333bf4e25cf34c755
/
.
/
node_modules
/
node-firefox-install-app
/
node_modules
/
zip-folder
/
node_modules
/
archiver
/
node_modules
/
glob
/
test
/
new-glob-optional-options.js
blob: 3e7dc5acbc5ac9ed61787b83f9e57bd657689236 [
file
] [
log
] [
blame
]
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
();
});
});