mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Use new Listener signature
This commit is contained in:
1 parent
a655b439bc
commit
b8598b74ac
1 file changed
+2
-2
@@ -66,7 +66,7 @@ namespace PSTests
|
|||||||
[Fact]
|
[Fact]
|
||||||
public void TestRunspaceWithPowerShellAndHost()
|
public void TestRunspaceWithPowerShellAndHost()
|
||||||
{
|
{
|
||||||
Listener listener = new Listener("", false);
|
Listener listener = new Listener("", false, false);
|
||||||
MyHost myHost = new MyHost(listener);
|
MyHost myHost = new MyHost(listener);
|
||||||
using (var runspace = RunspaceFactory.CreateRunspace(myHost))
|
using (var runspace = RunspaceFactory.CreateRunspace(myHost))
|
||||||
{
|
{
|
||||||
@@ -94,7 +94,7 @@ namespace PSTests
|
|||||||
[Fact]
|
[Fact]
|
||||||
public void TestRunspaceWithFunction()
|
public void TestRunspaceWithFunction()
|
||||||
{
|
{
|
||||||
Listener listener = new Listener("", false);
|
Listener listener = new Listener("", false, false);
|
||||||
MyHost myHost = new MyHost(listener);
|
MyHost myHost = new MyHost(listener);
|
||||||
using (var runspace = RunspaceFactory.CreateRunspace(myHost))
|
using (var runspace = RunspaceFactory.CreateRunspace(myHost))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user