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")
22var test = require ( "tap" ) . test
33var glob = require ( '../' )
44var path = require ( 'path' )
5- var isAbsolute = require ( 'path-is-absolute' )
65process . chdir ( __dirname + '/fixtures' )
76
87function cacheCheck ( g , t ) {
98 // verify that path cache keys are all absolute
109 var caches = [ 'cache' , 'statCache' , 'symlinks' ]
1110 caches . forEach ( function ( c ) {
1211 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' )
1413 } )
1514 } )
1615}
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ require("./global-leakage.js")
22var tap = require ( "tap" )
33var glob = require ( '../' )
44var path = require ( 'path' )
5- var isAbsolute = require ( 'path-is-absolute' )
65
76function cacheCheck ( g , t ) {
87 // verify that path cache keys are all absolute
98 var caches = [ 'cache' , 'statCache' , 'symlinks' ]
109 caches . forEach ( function ( c ) {
1110 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' )
1312 } )
1413 } )
1514}
Original file line number Diff line number Diff line change @@ -5,14 +5,13 @@ process.chdir(__dirname + '/fixtures')
55
66var glob = require ( '../' )
77var path = require ( 'path' )
8- var isAbsolute = require ( 'path-is-absolute' )
98
109function cacheCheck ( g , t ) {
1110 // verify that path cache keys are all absolute
1211 var caches = [ 'cache' , 'statCache' , 'symlinks' ]
1312 caches . forEach ( function ( c ) {
1413 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' )
1615 } )
1716 } )
1817}
You can’t perform that action at this time.
0 commit comments