Sha256: fd1313ccd5358c4070b8bf7f18cb3a0f6148ba1e5ec75025041e0f92027db008
Contents?: true
Size: 385 Bytes
Versions: 178
Compression:
Stored size: 385 Bytes
Contents
var test = require("tap").test var fs = require("../fs.js") var readdir = fs.readdir fs.readdir = function(path, cb) { process.nextTick(function() { cb(null, ["b", "z", "a"]) }) } var g = require("../") test("readdir reorder", function (t) { g.readdir("whatevers", function (er, files) { if (er) throw er t.same(files, [ "a", "b", "z" ]) t.end() }) })
Version data entries
178 entries across 150 versions & 8 rubygems