Skip to content

Commit

Permalink
Updated unit test to fix broken build after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankRay78 committed Oct 30, 2023
1 parent e854873 commit 09cf0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cake.Tests/Unit/ProgramTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public async void Should_Pass_Cake_Runner_Argument_And_Value_To_Build_Script()

// Then
feature.Received(1).Run(
Arg.Is<IRemainingArguments>(arguments => arguments.Parsed.Contains("version") && arguments.Parsed["version"].Contains("1.2.3")),
Arg.Is<ICakeArguments>(arguments => arguments.HasArgument("version") && arguments.GetArguments("version").Contains("1.2.3")),
Arg.Is<BuildFeatureSettings>(settings => settings.BuildHostKind == BuildHostKind.Build));
}
}
Expand Down

0 comments on commit 09cf0d2

Please sign in to comment.