You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
328 B
17 lines
328 B
/**
|
|
* Imports
|
|
*/
|
|
|
|
var relative = require('..')
|
|
var path = require('path')
|
|
var test = require('tape')
|
|
|
|
/**
|
|
* Tests
|
|
*/
|
|
|
|
test('should work', function (t) {
|
|
t.equal(relative('test/index.js', '.'), path.relative('test/index.js', '.'))
|
|
t.equal(relative('test/index.js', '.'), path.relative('test/index.js', '.'))
|
|
t.end()
|
|
})
|