Fix fractional point size comparison in the test
This commit is contained in:
parent
87b80995a4
commit
f337e234c4
1 changed files with 1 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ TEST_CASE("wxFontList::FindOrCreate", "[font][fontinfo][fontlist]")
|
|||
font1 = wxTheFontList->FindOrCreateFont(pointSizeInfo);
|
||||
REQUIRE(font1);
|
||||
REQUIRE(font1->IsOk());
|
||||
REQUIRE(font1->GetPointSize() == pointSize);
|
||||
REQUIRE(font1->GetFractionalPointSize() == pointSize);
|
||||
|
||||
// font 2 should be font1 from the font list "cache"
|
||||
font2 = wxTheFontList->FindOrCreateFont(pointSizeInfo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue