diff --git a/MatterControlApplication.cs b/MatterControlApplication.cs index 3b6c55ce7..0793bdebe 100644 --- a/MatterControlApplication.cs +++ b/MatterControlApplication.cs @@ -71,12 +71,7 @@ namespace MatterHackers.MatterControl { case "TEST": Testing.TestingDispatch testDispatch = new Testing.TestingDispatch(); - string[] testCommands = new string[commandLineArgs.Length - 2]; - if (commandLineArgs.Length > 2) - { - commandLineArgs.CopyTo(testCommands, 2); - } - testDispatch.RunTests(testCommands); + testDispatch.RunTests(); return; case "CLEAR_CACHE": diff --git a/Testing/TestingDispatch.cs b/Testing/TestingDispatch.cs index bf4bbee6b..e33bcd6fa 100644 --- a/Testing/TestingDispatch.cs +++ b/Testing/TestingDispatch.cs @@ -24,7 +24,7 @@ namespace MatterHackers.MatterControl.Testing } } - public void RunTests(string[] testCommands) + public void RunTests() { try { ReleaseTests.AssertDebugNotDefined(); } catch (Exception e) { DumpException(e); }