Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 514ed64

Browse files
committed
fix comment
1 parent 2cb339e commit 514ed64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shell/common/shell_unittests.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,16 +533,16 @@ TEST_F(ShellTest, ReloadSystemFonts) {
533533
auto font =
534534
fontCollection->GetMinikinFontCollectionForFamilies(families, "en");
535535
if (font == nullptr) {
536-
// System does not have any font to begin with. Aborts the test.
536+
// The system does not have default font. Aborts this test.
537537
return;
538538
}
539539
unsigned int id = font->getId();
540-
// Result should be cached.
540+
// The result should be cached.
541541
font = fontCollection->GetMinikinFontCollectionForFamilies(families, "en");
542542
ASSERT_EQ(font->getId(), id);
543543
bool result = shell->ReloadSystemFonts();
544544

545-
// Cache is cleared, and FontCollection will be assigned a new id.
545+
// The cache is cleared, and FontCollection will be assigned a new id.
546546
font = fontCollection->GetMinikinFontCollectionForFamilies(families, "en");
547547
ASSERT_NE(font->getId(), id);
548548
ASSERT_TRUE(result);

0 commit comments

Comments
 (0)