Sign in
apache
/
cordova-osx
/
249f7dd2bcb3388f0d6679f037f5c5e9dc5e9daf
/
.
/
bin
/
node_modules
/
cordova-common
/
node_modules
/
cordova-registry-mapper
/
node_modules
/
tape
/
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
();
});
});