From 47e0a7b7aa55d1abbf77c600db340e6f444a508e Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Mon, 18 Dec 2023 22:42:15 -0800 Subject: [PATCH] Fix failing test --- tests/OmniSharp.Tests/CommandLineApplicationFacts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/OmniSharp.Tests/CommandLineApplicationFacts.cs b/tests/OmniSharp.Tests/CommandLineApplicationFacts.cs index 5d75037bd3..5422d312eb 100644 --- a/tests/OmniSharp.Tests/CommandLineApplicationFacts.cs +++ b/tests/OmniSharp.Tests/CommandLineApplicationFacts.cs @@ -19,7 +19,7 @@ public void AllowsEqualsSignInSolutionPath(string arg1, string arg2, string arg3 { var app = new CommandLineApplication(); app.OnExecute(() => 0); - app.Execute(new[] { arg1, arg2, arg3 }); + app.Execute(new[] { arg1, arg2, arg3 }.OfType().ToArray()); Assert.Single(app.OtherArgs); Assert.Equal("a=b", app.OtherArgs.First());