Use get-command instead of get-process in xUnit
This commit is contained in:
parent
52d747e56b
commit
5349900c3b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ namespace PSTests
|
||||||
public class RunspaceTests
|
public class RunspaceTests
|
||||||
{
|
{
|
||||||
private static int count = 3;
|
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]
|
[Fact]
|
||||||
public void TestRunspaceWithPipeline()
|
public void TestRunspaceWithPipeline()
|
||||||
|
|
Loading…
Reference in a new issue