Skip to content

Commit 55572ff

Browse files
davidobrien1985fabiocav
authored andcommitted
Fix typo in variable in PowerShellInvokerTests() (#990)
1 parent 8a51cc4 commit 55572ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/WebJobs.Script.Tests/PowerShellInvokerTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public PowerShellInvokerTests(PowerShellInvokerTests.Fixture fixture)
2323
public void GetScript()
2424
{
2525
string result = PowerShellFunctionInvoker.GetScript(_fixture.TestScriptPath);
26-
Assert.Equal(_fixture.TestScripContent, result.Trim(), StringComparer.OrdinalIgnoreCase);
26+
Assert.Equal(_fixture.TestScriptContent, result.Trim(), StringComparer.OrdinalIgnoreCase);
2727
}
2828

2929
[Fact]
@@ -85,7 +85,7 @@ public class Fixture : IDisposable
8585
{
8686
public Fixture()
8787
{
88-
TestScripContent = "This is a test script.";
88+
TestScriptContent = "This is a test script.";
8989
TestFunctionName = "TestFunction";
9090
TestRootScriptPath = Path.Combine(TestHelpers.FunctionsTestDirectory, "Functions");
9191
TestFunctionRoot = Path.Combine(TestRootScriptPath, TestFunctionName);
@@ -109,7 +109,7 @@ public Fixture()
109109

110110
public string TestScriptPath { get; private set; }
111111

112-
public string TestScripContent { get; private set; }
112+
public string TestScriptContent { get; private set; }
113113

114114
public string TestFunctionName { get; private set; }
115115

@@ -147,7 +147,7 @@ public string CreateScriptFile(string scriptRoot)
147147
// Create a file to write to.
148148
using (StreamWriter sw = File.CreateText(path))
149149
{
150-
sw.WriteLine(TestScripContent);
150+
sw.WriteLine(TestScriptContent);
151151
}
152152
}
153153

0 commit comments

Comments
 (0)