File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,14 @@ require("./global-leakage.js")
2
2
var test = require ( "tap" ) . test
3
3
var glob = require ( '../' )
4
4
var path = require ( 'path' )
5
- var isAbsolute = require ( 'path-is-absolute' )
6
5
process . chdir ( __dirname + '/fixtures' )
7
6
8
7
function cacheCheck ( g , t ) {
9
8
// verify that path cache keys are all absolute
10
9
var caches = [ 'cache' , 'statCache' , 'symlinks' ]
11
10
caches . forEach ( function ( c ) {
12
11
Object . keys ( g [ c ] ) . forEach ( function ( p ) {
13
- t . ok ( isAbsolute ( p ) , p + ' should be absolute' )
12
+ t . ok ( path . isAbsolute ( p ) , p + ' should be absolute' )
14
13
} )
15
14
} )
16
15
}
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ require("./global-leakage.js")
2
2
var tap = require ( "tap" )
3
3
var glob = require ( '../' )
4
4
var path = require ( 'path' )
5
- var isAbsolute = require ( 'path-is-absolute' )
6
5
7
6
function cacheCheck ( g , t ) {
8
7
// verify that path cache keys are all absolute
9
8
var caches = [ 'cache' , 'statCache' , 'symlinks' ]
10
9
caches . forEach ( function ( c ) {
11
10
Object . keys ( g [ c ] ) . forEach ( function ( p ) {
12
- t . ok ( isAbsolute ( p ) , p + ' should be absolute' )
11
+ t . ok ( path . isAbsolute ( p ) , p + ' should be absolute' )
13
12
} )
14
13
} )
15
14
}
Original file line number Diff line number Diff line change @@ -5,14 +5,13 @@ process.chdir(__dirname + '/fixtures')
5
5
6
6
var glob = require ( '../' )
7
7
var path = require ( 'path' )
8
- var isAbsolute = require ( 'path-is-absolute' )
9
8
10
9
function cacheCheck ( g , t ) {
11
10
// verify that path cache keys are all absolute
12
11
var caches = [ 'cache' , 'statCache' , 'symlinks' ]
13
12
caches . forEach ( function ( c ) {
14
13
Object . keys ( g [ c ] ) . forEach ( function ( p ) {
15
- t . ok ( isAbsolute ( p ) , p + ' should be absolute' )
14
+ t . ok ( path . isAbsolute ( p ) , p + ' should be absolute' )
16
15
} )
17
16
} )
18
17
}
You can’t perform that action at this time.
0 commit comments