We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 178b1d3 commit 0b54846Copy full SHA for 0b54846
src/GitVersion.App.Tests/ArgumentParserTests.cs
@@ -636,6 +636,21 @@ public void AllowshallowTrueWhenDefined()
636
arguments.AllowShallow.ShouldBe(true);
637
}
638
639
+ [Test]
640
+ public void DiagTrueWhenDefined()
641
+ {
642
+ var arguments = this.argumentParser.ParseArguments("-diag");
643
+ arguments.Diag.ShouldBe(true);
644
+ }
645
+
646
647
+ public void DiagAndLogToConsoleIsNotIgnored()
648
649
+ var arguments = this.argumentParser.ParseArguments("-diag -l console");
650
651
+ arguments.LogFilePath.ShouldBe("console");
652
653
654
[Test]
655
public void OtherArgumentsCanBeParsedBeforeNofetch()
656
{
0 commit comments