diff options
-rw-r--r-- | src/System.Diagnostics.Process/tests/ProcessTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Diagnostics.Process/tests/ProcessTests.cs b/src/System.Diagnostics.Process/tests/ProcessTests.cs index f39bb591a3..da7d483cf5 100644 --- a/src/System.Diagnostics.Process/tests/ProcessTests.cs +++ b/src/System.Diagnostics.Process/tests/ProcessTests.cs @@ -168,11 +168,11 @@ namespace System.Diagnostics.Tests { if (isFolder) { - Assert.Null(px); // Not sure why px returned is null. but the call does not throw and opens folder successfully. + Assert.Null(px); } else { - if (px != null) // sometimes process is null: tracked by #24048 + if (px != null) // sometimes process is null { Assert.Equal("notepad", px.ProcessName); |