1 var test = require('tap').test
3 var vacuum = require('../vacuum.js')
5 test('vacuum errors when base is set and path is not under it', function (t) {
6 vacuum('/a/made/up/path', {base: '/root/elsewhere'}, function (er) {
7 t.ok(er, 'got an error')
10 '/a/made/up/path is not a child of /root/elsewhere',
11 'got the expected error message'