Use get-command instead of get-process in xUnit

This commit is contained in:
Andrew Schwartzmeyer committed 2016-05-20 15:17:12 -07:00
1 parent 52d747e56b
commit 5349900c3b
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ namespace PSTests
public class RunspaceTests
{
private static int count = 3;
private static string script = String.Format($"get-process | select-object -first {count}");
private static string script = String.Format($"get-command | select-object -first {count}");
[Fact]
public void TestRunspaceWithPipeline()