Skip to content

Commit aa04a05

Browse files
Disable a text field test that fails on some Macs with libtxt (flutter#14895)
1 parent eaa9b47 commit aa04a05

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/flutter/test/material/text_field_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,8 @@ void main() {
737737
expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFirstPos)), isTrue);
738738
expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFourthPos)), isFalse);
739739
},
740-
// This test does not run as expected in the MacOS environment on Travis
741-
skip: runningOnTravis && Platform.isMacOS);
740+
// This test fails on some Mac environments when libtxt is enabled.
741+
skip: Platform.isMacOS);
742742

743743
testWidgets('TextField smoke test', (WidgetTester tester) async {
744744
String textFieldValue;

packages/flutter/test/painting/text_painter_rtl_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ void main() {
320320
],
321321
);
322322
},
323-
// Ahem-based tests don't yet quite work on Windows or the MacOS environment in Travis
324-
skip: Platform.isWindows || (runningOnTravis && Platform.isMacOS));
323+
// Ahem-based tests don't yet quite work on Windows or some MacOS environments
324+
skip: Platform.isWindows || Platform.isMacOS);
325325

326326
test('TextPainter - line wrap mid-word', () {
327327
final TextPainter painter = new TextPainter()

packages/flutter/test/rendering/paragraph_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ void main() {
7070
expect(boxes.any((ui.TextBox box) => box.left == 250 && box.top == 0), isTrue);
7171
expect(boxes.any((ui.TextBox box) => box.right == 100 && box.top == 10), isTrue);
7272
},
73-
// Ahem-based tests don't yet quite work on Windows or the MacOS environment in Travis
74-
skip: Platform.isWindows || (runningOnTravis && Platform.isMacOS));
73+
// Ahem-based tests don't yet quite work on Windows or some MacOS environments
74+
skip: Platform.isWindows || Platform.isMacOS);
7575

7676
test('getWordBoundary control test', () {
7777
final RenderParagraph paragraph = new RenderParagraph(

0 commit comments

Comments
 (0)