[web] Temporarily disable a line boundary test (#121005)

This commit is contained in:
Mouad Debbar 2023-02-17 16:50:11 -05:00 committed by GitHub
parent 08b409ab0b
commit f785136852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1061,7 +1061,10 @@ void main() {
selection = paragraph.selections[0]; selection = paragraph.selections[0];
expect(selection.start, 4); // how [are you] expect(selection.start, 4); // how [are you]
if (isBrowser && !isCanvasKit) { if (isBrowser && !isCanvasKit) {
expect(selection.end, 12); // TODO(mdebbar): Remove this "if" once this engine PR lands:
// https://github.com/flutter/engine/pull/39693
// expect(selection.end, 12);
} else { } else {
expect(selection.end, 11); expect(selection.end, 11);
} }
@ -1076,8 +1079,11 @@ void main() {
); );
selection = paragraph.selections[0]; selection = paragraph.selections[0];
if (isBrowser && !isCanvasKit) { if (isBrowser && !isCanvasKit) {
// TODO(mdebbar): Remove this "if" once this engine PR lands:
// https://github.com/flutter/engine/pull/39693
// how [are you\n] // how [are you\n]
expect(selection, const TextRange(start: 4, end: 12)); // expect(selection, const TextRange(start: 4, end: 12));
} else { } else {
// [how ]are you // [how ]are you
expect(selection, const TextRange(start: 0, end: 4)); expect(selection, const TextRange(start: 0, end: 4));