From cac0ea8ea931cbede9dc78706165cbea5ba27d28 Mon Sep 17 00:00:00 2001 From: GaryQian Date: Wed, 3 Oct 2018 16:13:53 -0700 Subject: [PATCH] Disable line_height tests on Windows --- third_party/txt/src/txt/paragraph.h | 2 +- third_party/txt/src/txt/styled_runs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/txt/src/txt/paragraph.h b/third_party/txt/src/txt/paragraph.h index 0c31243e79e77..749fd988cb248 100644 --- a/third_party/txt/src/txt/paragraph.h +++ b/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/third_party/txt/src/txt/styled_runs.h b/third_party/txt/src/txt/styled_runs.h index f1ef7dc73e45a..40c75c73c7c43 100644 --- a/third_party/txt/src/txt/styled_runs.h +++ b/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;