syntax errors

This commit is contained in:
Ben Wells
2023-07-26 14:54:06 +00:00
parent 4da8c9e69a
commit 45d079e5f3
2 changed files with 4 additions and 4 deletions

View File

@@ -407,7 +407,7 @@ namespace GitHub.Runner.Worker
// Ensure pos1 is always the smaller position // Ensure pos1 is always the smaller position
if (pos2 < pos1) 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++) for (int i = pos1 + 1; i < pos2; i++)

View File

@@ -241,9 +241,9 @@ namespace GitHub.Runner.Common.Tests.Worker
"MY_KEY_5=abc << def", "MY_KEY_5=abc << def",
"MY_KEY_6= <<EOF", "MY_KEY_6= <<EOF",
"white space test", "white space test",
"EOF" "EOF",
"MY_KEY_7 << =EOF=" "MY_KEY_7 << =EOF=",
"abc" "abc",
"=EOF=" "=EOF="
}; };
TestUtil.WriteContent(stateFile, content); TestUtil.WriteContent(stateFile, content);