Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[housekeeping] Automated PR to fix formatting errors #17311

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public partial class Issue16561 : ContentPage
public Issue16561()
{
InitializeComponent();

var tapGesture = new TapGestureRecognizer();
tapGesture.Tapped += TapHandler;

Expand Down
4 changes: 2 additions & 2 deletions src/Controls/tests/UITests/Tests/Issues/Issue16561.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void TapTwoPlacesQuickly()
AssertCorrectTapLocation(result[0].Text, expectedX2, expectedY, "Second");
}

static void AssertCorrectTapLocation(string tapData, float expectedX, float expectedY, string which)
static void AssertCorrectTapLocation(string tapData, float expectedX, float expectedY, string which)
{
// Turn the text values into numbers so we can compare with a tolerance
(var tapX, var tapY) = ParseCoordinates(tapData);
Expand All @@ -66,7 +66,7 @@ static void AssertCorrectTapLocation(string tapData, float expectedX, float expe
Assert.AreEqual((double)expectedY, tapY, 1, $"{which} tap has unexpected Y value");
}

static (double, double) ParseCoordinates(string text)
static (double, double) ParseCoordinates(string text)
{
var values = text.Split(',', StringSplitOptions.TrimEntries)
.Select(double.Parse)
Expand Down