Skip to content

Commit d72335e

Browse files
committed
fix test text
1 parent 1a12a3c commit d72335e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/flutter/test/rendering/paragraph_test.dart‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ void main() {
15321532
// Verify that the ideographic baseline is correctly calculated based on
15331533
// CJK font metrics.
15341534
final paragraph = RenderParagraph(
1535-
const TextSpan(text: 'こんにちは', style: TextStyle(fontSize: 10.0)),
1535+
const TextSpan(text: '一二三', style: TextStyle(fontSize: 10.0)),
15361536
textDirection: TextDirection.ltr,
15371537
);
15381538
layout(paragraph);
@@ -1550,7 +1550,7 @@ void main() {
15501550
// Verify that the baseline calculation correctly handles mixed fonts,
15511551
// extending the metrics to cover both.
15521552
final paragraph = RenderParagraph(
1553-
const TextSpan(text: 'Hello world こんにちは', style: TextStyle(fontSize: 10.0)),
1553+
const TextSpan(text: 'Hello world 一二三', style: TextStyle(fontSize: 10.0)),
15541554
textDirection: TextDirection.ltr,
15551555
);
15561556
layout(paragraph);

0 commit comments

Comments
 (0)