Skip to content

Commit ff29b7b

Browse files
committed
Fix test strings
1 parent 8df6bb8 commit ff29b7b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/two_dimensional_scrollables/test/table_view/pinned_extent_warning_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ void main() {
4747
expect(
4848
log,
4949
contains(
50-
contains(
51-
'TableView has pinned columns with a total width of 300.0, which exceeds the viewport width of 200.0',
50+
matches(
51+
r'TableView has pinned columns with a total width of 300(\.0)?, which exceeds the viewport width of 200(\.0)?',
5252
),
5353
),
5454
);
@@ -93,8 +93,8 @@ void main() {
9393
expect(
9494
log,
9595
contains(
96-
contains(
97-
'TableView has pinned rows with a total height of 300.0, which exceeds the viewport height of 200.0',
96+
matches(
97+
r'TableView has pinned rows with a total height of 300(\.0)?, which exceeds the viewport height of 200(\.0)?',
9898
),
9999
),
100100
);

0 commit comments

Comments
 (0)