rename build to more meaningful buildTest
This commit is contained in:
parent
b937db2121
commit
b18d1a79f4
@ -67,7 +67,7 @@ var assertTest = function (stdout, stderr, opts) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
var build = function (binName, testName, opts) {
|
var buildTest = function (binName, testName, opts) {
|
||||||
var binLoc = path.normalize(__dirname + "/../bin/" + binName);
|
var binLoc = path.normalize(__dirname + "/../bin/" + binName);
|
||||||
|
|
||||||
return function (callback) {
|
return function (callback) {
|
||||||
@ -146,7 +146,7 @@ _.each(fs.readdirSync(fixtureLoc), function (binName) {
|
|||||||
opts.outFiles = readDir(testLoc + "/out-files");
|
opts.outFiles = readDir(testLoc + "/out-files");
|
||||||
opts.inFiles = readDir(testLoc + "/in-files");
|
opts.inFiles = readDir(testLoc + "/in-files");
|
||||||
|
|
||||||
test(testName, build(binName, testName, opts));
|
test(testName, buildTest(binName, testName, opts));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user