From d9d9f5c694e577911166bd68d12bca6178eaa868 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 6 Jun 2023 14:54:11 +1000 Subject: [PATCH] directoryPath can be null --- .../Processors/AeDebuggerArgumentProcessorTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vstest.console.UnitTests/Processors/AeDebuggerArgumentProcessorTest.cs b/test/vstest.console.UnitTests/Processors/AeDebuggerArgumentProcessorTest.cs index 8fb031ca0d..bca0bd8f0f 100644 --- a/test/vstest.console.UnitTests/Processors/AeDebuggerArgumentProcessorTest.cs +++ b/test/vstest.console.UnitTests/Processors/AeDebuggerArgumentProcessorTest.cs @@ -97,7 +97,7 @@ public void AeDebuggerArgumentExecutor_NonWindowsOS() [DataRow("Install;{0};ProcDumpToolDirectoryPath=c:\\ProcDumpToolDirectoryPath", null)] [DataRow("Install;{0};ProcDumpToolDirectoryPath=c:\\ProcDumpToolDirectoryPath", "DumpDirectoryPath=c:\\DumpDirectoryPat")] - public void AeDebuggerArgumentExecutor_WrongDirectoryPaths(string command, string directoryPath) + public void AeDebuggerArgumentExecutor_WrongDirectoryPaths(string command, string? directoryPath) { _fileHelper.Setup(x => x.DirectoryExists(It.IsAny())) .Returns((string path) => directoryPath is null || !directoryPath.EndsWith(path));