Skip to content

Commit

Permalink
Merge branch 'Xcode15-PassKit-Beta7' of github.com:tj-devel709/xamari…
Browse files Browse the repository at this point in the history
…n-macios into Xcode15-PassKit-Beta7
  • Loading branch information
tj_devel709 committed Oct 11, 2023
2 parents 6b76c13 + ef534cc commit 0f90a7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/monotouch-test/PassKit/PKPayLaterViewTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ public void ValidateAmountTest ()
TestRuntime.AssertXcodeVersion (15, 0);

var payLaterView = new PKPayLaterView (100, "USD");
payLaterView.ValidateAmount(50, "USD", (eligible) => {
payLaterView.ValidateAmount (50, "USD", (eligible) => {
Assert.True (eligible);
});

payLaterView.ValidateAmount(1, "USD", (eligible) => {
payLaterView.ValidateAmount (1, "USD", (eligible) => {
Assert.False (eligible);
});

payLaterView.ValidateAmount(1000000, "USD", (eligible) => {
payLaterView.ValidateAmount (1000000, "USD", (eligible) => {
Assert.False (eligible);
});

payLaterView.ValidateAmount(50, "USD", (eligible) => {
payLaterView.ValidateAmount (50, "USD", (eligible) => {
Assert.True (eligible);
});
}
Expand Down

0 comments on commit 0f90a7e

Please sign in to comment.