mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Use get-command instead of get-process in xUnit
This commit is contained in:
1 parent
52d747e56b
commit
5349900c3b
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user