Skip to content

Commit 3711ff0

Browse files
committed
wip
1 parent 248045a commit 3711ff0

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/GitVersion.App.Tests/ExecCmdLineArgumentTest.cs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ public void LogPathContainsForwardSlash()
2525
fixture.MakeATaggedCommit("1.2.3");
2626
fixture.MakeACommit();
2727

28-
var result = GitVersionHelper.ExecuteIn(fixture.RepositoryPath, """
29-
/l "/tmp/path"
30-
""", false);
28+
var result = GitVersionHelper.ExecuteIn(fixture.RepositoryPath,
29+
""" /l "/tmp/path" """, false);
3130

3231
result.ExitCode.ShouldBe(0);
3332
result.Output.ShouldNotBeNull();
34-
result.Output.ShouldContain("""
35-
"MajorMinorPatch": "1.2.4"
36-
""");
33+
result.Output.ShouldContain(
34+
"""
35+
"MajorMinorPatch": "1.2.4"
36+
""");
3737
}
3838

3939
[Theory]
@@ -47,9 +47,7 @@ public void CheckBuildServerVerbosityConsole(string verbosityArg, string expecte
4747
fixture.MakeACommit();
4848

4949
var result = GitVersionHelper.ExecuteIn(fixture.RepositoryPath,
50-
$"""
51-
{verbosityArg} -output buildserver /l "/tmp/path"
52-
""", false);
50+
$""" {verbosityArg} -output buildserver /l "/tmp/path" """, false);
5351

5452
result.ExitCode.ShouldBe(0);
5553
result.Output.ShouldNotBeNull();

src/GitVersion.Core/Core/RegexPatterns.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ internal static class Common
6767
public static Regex SwitchArgumentRegex { get; } = new(@"/\w+:", Options);
6868
public static Regex ObscurePasswordRegex { get; } = new("(https?://)(.+)(:.+@)", Options);
6969

70-
// This regex matches an expression to replace.
70+
// this regex matches an expression to replace.
7171
// - env:ENV name OR a member name
7272
// - optional fallback value after " ?? "
7373
// - the fallback value should be a quoted string, but simple unquoted text is allowed for back compat

0 commit comments

Comments
 (0)