mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 15:33:12 +09:00
Error message when started without instanceName
And some test coverage
This commit is contained in:
1 parent
e6da33582c
commit
5de0b6319c
3 files changed
+6
-1
No files matched your search
+1
-1
@@ -63,7 +63,7 @@ describe("fileOps.js", function(){
|
||||
});
|
||||
describe("fileOps.getNewestFile()", function(){
|
||||
it("gets the newest file in a directory async", function(done){
|
||||
fileOps.getNewestFile("lib/test", fileOps.getFileNamesSync("lib/test"), function(err, newest){
|
||||
fileOps.getNewestFile("lib/test/", fileOps.getFileNamesSync("lib/test"), function(err, newest){
|
||||
assert(newest && typeof newest.file == "string");
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user