-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Update test font #121306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update test font #121306
Conversation
a054531 to
f04eee2
Compare
1beb821 to
f4b5389
Compare
justinmc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Why are we changing the test font? Will it still be a blocky kind of font like Ahem?
It looks great that we don't have to specify "Ahem" everywhere, we don't need to use moreOrLessEquals, etc.
|
|
||
| // The label reduces the amount of space available for text, so the | ||
| // center is slightly lower. | ||
| expect(tester.getTopLeft(find.text(text)).dy, moreOrLessEquals(298.0, epsilon: .0001)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great that we can get rid of some moreOrLessEquals.
|
Yeah mostly because this font gives accurate metrics (unless |
|
Sounds good, thanks! |
This reverts commit 9f69a36.
Reland "Update test font (flutter#121306)"
Migrate framework tests before I can make the new test font the default.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.