From c460e520435e1f8fa1fa2d004d3b0dbb20fe732c Mon Sep 17 00:00:00 2001 From: JumpingYang001 Date: Thu, 17 Mar 2016 20:18:29 -0700 Subject: [PATCH] Update test fix for test_SessionState.cs --- test/csharp/test_SessionState.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/csharp/test_SessionState.cs b/test/csharp/test_SessionState.cs index 1963e5e28d..adfc9e7a38 100644 --- a/test/csharp/test_SessionState.cs +++ b/test/csharp/test_SessionState.cs @@ -27,7 +27,7 @@ namespace PSTests ExecutionContext executionContext = new ExecutionContext(engine, hostInterface, iss); SessionStateInternal sessionState = new SessionStateInternal(executionContext); Collection drives = sessionState.Drives(null); - Assert.True(drives.Count>0); + Assert.NotNull(drives); } } }