Commit 9014280f authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Skip TextPainter caret test (#7912)

Reason: https://github.com/flutter/flutter/issues/4273
parent 524058f5
......@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io' as io;
import 'dart:ui' as ui;
import 'package:flutter/painting.dart';
......@@ -26,7 +27,7 @@ void main() {
painter.layout();
caretOffset = painter.getOffsetForCaret(new ui.TextPosition(offset: text.length), ui.Rect.zero);
expect(caretOffset.dx, painter.width);
});
}, skip: io.Platform.isMacOS); // TODO(goderbauer): Disabled because of https://github.com/flutter/flutter/issues/4273
test("TextPainter error test", () {
TextPainter painter = new TextPainter();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment