Skip to content

Commit f785136

Browse files
authored
[web] Temporarily disable a line boundary test (#121005)
1 parent 08b409a commit f785136

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/flutter/test/rendering/paragraph_test.dart

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,10 @@ void main() {
10611061
selection = paragraph.selections[0];
10621062
expect(selection.start, 4); // how [are you]
10631063
if (isBrowser && !isCanvasKit) {
1064-
expect(selection.end, 12);
1064+
// TODO(mdebbar): Remove this "if" once this engine PR lands:
1065+
// https://github.com/flutter/engine/pull/39693
1066+
1067+
// expect(selection.end, 12);
10651068
} else {
10661069
expect(selection.end, 11);
10671070
}
@@ -1076,8 +1079,11 @@ void main() {
10761079
);
10771080
selection = paragraph.selections[0];
10781081
if (isBrowser && !isCanvasKit) {
1082+
// TODO(mdebbar): Remove this "if" once this engine PR lands:
1083+
// https://github.com/flutter/engine/pull/39693
1084+
10791085
// how [are you\n]
1080-
expect(selection, const TextRange(start: 4, end: 12));
1086+
// expect(selection, const TextRange(start: 4, end: 12));
10811087
} else {
10821088
// [how ]are you
10831089
expect(selection, const TextRange(start: 0, end: 4));

0 commit comments

Comments
 (0)