mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
syntax errors
This commit is contained in:
@@ -407,7 +407,7 @@ namespace GitHub.Runner.Worker
|
||||
// Ensure pos1 is always the smaller position
|
||||
if (pos2 < pos1)
|
||||
{
|
||||
throw new ArgumentException("OnlyContainsWhiteSpaceBetweenPositions: pos1 must be less than or equal to pos2.")
|
||||
throw new ArgumentException("OnlyContainsWhiteSpaceBetweenPositions: pos1 must be less than or equal to pos2.");
|
||||
}
|
||||
|
||||
for (int i = pos1 + 1; i < pos2; i++)
|
||||
|
||||
@@ -241,9 +241,9 @@ namespace GitHub.Runner.Common.Tests.Worker
|
||||
"MY_KEY_5=abc << def",
|
||||
"MY_KEY_6= <<EOF",
|
||||
"white space test",
|
||||
"EOF"
|
||||
"MY_KEY_7 << =EOF="
|
||||
"abc"
|
||||
"EOF",
|
||||
"MY_KEY_7 << =EOF=",
|
||||
"abc",
|
||||
"=EOF="
|
||||
};
|
||||
TestUtil.WriteContent(stateFile, content);
|
||||
|
||||
Reference in New Issue
Block a user