Skip to content

Commit

Permalink
chore: Adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 authored Jun 6, 2024
1 parent 6c38f15 commit ed2f412
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,14 @@ public async Task When_SymbolIcon_Verify_Size()

var tbBounds = tb.GetAbsoluteBounds();

#if __WASM__
Assert.AreEqual(new Size(13, 12), new Size(tbBounds.Width, tbBounds.Height));
#elif __ANDROID__
Assert.AreEqual(new Size(12, 14), new Size(tbBounds.Width, tbBounds.Height));
#else
// 12, 12 is the right behavior here.
Assert.AreEqual(new Size(12, 12), new Size(tbBounds.Width, tbBounds.Height));
#endif
}
#endif

Expand Down

0 comments on commit ed2f412

Please sign in to comment.