Sign in
apache
/
cordova-js
/
refs/heads/cb-4.2.3-node-modules-for-coho-only
/
.
/
node_modules
/
detective
/
test
/
shebang.js
blob: b662ea2412346f653d3d2dda4dc2adcc5871b77f [
file
] [
log
] [
blame
]
var
test
=
require
(
'tap'
).
test
;
var
detective
=
require
(
'../'
);
var
fs
=
require
(
'fs'
);
var
src
=
fs
.
readFileSync
(
__dirname
+
'/files/shebang.js'
);
test
(
'shebang'
,
function
(
t
)
{
t
.
plan
(
1
);
t
.
deepEqual
(
detective
(
src
),
[
'a'
,
'b'
,
'c'
]);
});