Remove unused files

Remove left over files that are no longer in use.
This commit is contained in:
Hornwitser committed 2020-04-03 20:51:28 +02:00
1 parent 9a4a535add
commit f05100c94d
9 files changed
-114

No files matched your search

@@ -1,18 +0,0 @@
const isFactorioCommand = require("lib/isFactorioCommand");
const assert = require("assert");
describe("inventoryImports/isFactorioCommand.js()", function(){
it("Returns false if input is not a factorio command", function(){
assert(isFactorioCommand({}) == false, "This is not even a string so should return false");
assert(isFactorioCommand("Howdy boys!") == false, "This is not a command so should return false");
assert(isFactorioCommand("/c this ain't a command because its invalid LUA") == false, "This is not valid LUA so it should return false");
assert(isFactorioCommand("Trying to trick the system /c game.print('Hello world!')") == false, "this is still not a command");
});
it("Returns true if it is a valid command", function(){
assert(isFactorioCommand("/c game.print('hello world')"), "This is a valid command, should output true not false")
});
it("Fails to understand that leading spaces are valid", function(){
assert(isFactorioCommand(" /c game.print('Hello world!')") == false, "This should be true but often returns false unintentionally. If you see this you probably fixed the bug so change this test, OK?")
});
});
-1
View File
@@ -3,4 +3,3 @@
require('lib/manager/modManager');
require('lib/npmPostinstall.js');
require('lib/typedef');