var mkdirp=require("../"),path=require("path"),fs=require("fs"),test=require("tap").test;test("root",function(t){var file=path.resolve("/");mkdirp(file,493,function(err){if(err)throw err;fs.stat(file,function(er,stat){if(er)throw er;t.ok(stat.isDirectory(),"target is a directory"),t.end()})})});