From 479147ef118c1e2cc485633829406974cae4b24c Mon Sep 17 00:00:00 2001 From: Gary Qian Date: Wed, 3 Oct 2018 16:28:21 -0700 Subject: [PATCH] Disable line_height tests on Windows (flutter/engine#6423) --- engine/src/flutter/third_party/txt/src/txt/paragraph.h | 2 +- engine/src/flutter/third_party/txt/src/txt/styled_runs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/third_party/txt/src/txt/paragraph.h b/engine/src/flutter/third_party/txt/src/txt/paragraph.h index 0c31243e79..749fd988cb 100644 --- a/engine/src/flutter/third_party/txt/src/txt/paragraph.h +++ b/engine/src/flutter/third_party/txt/src/txt/paragraph.h @@ -206,7 +206,7 @@ class Paragraph { FRIEND_TEST(ParagraphTest, RepeatLayoutParagraph); FRIEND_TEST(ParagraphTest, Ellipsize); FRIEND_TEST(ParagraphTest, UnderlineShiftParagraph); - FRIEND_TEST(ParagraphTest, LineHeightsParagraph); + FRIEND_TEST_WINDOWS_DISABLED(ParagraphTest, LineHeightsParagraph); // Starting data to layout. std::vector text_; diff --git a/engine/src/flutter/third_party/txt/src/txt/styled_runs.h b/engine/src/flutter/third_party/txt/src/txt/styled_runs.h index f1ef7dc73e..40c75c73c7 100644 --- a/engine/src/flutter/third_party/txt/src/txt/styled_runs.h +++ b/engine/src/flutter/third_party/txt/src/txt/styled_runs.h @@ -79,7 +79,7 @@ class StyledRuns { FRIEND_TEST(ParagraphTest, HyphenBreakParagraph); FRIEND_TEST(ParagraphTest, RepeatLayoutParagraph); FRIEND_TEST(ParagraphTest, Ellipsize); - FRIEND_TEST(ParagraphTest, LineHeightsParagraph); + FRIEND_TEST_WINDOWS_DISABLED(ParagraphTest, LineHeightsParagraph); struct IndexedRun { size_t style_index = 0;