Skip to content

Commit 56ce5d7

Browse files
committed
Throw exception
1 parent cf94ed6 commit 56ce5d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/material_ui/test/chip_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ PaintPattern uniqueRipplePattern(Offset expectedCenter, double expectedRadius) {
200200
if (offsetsAreClose(center, expectedCenter) && radiiAreClose(radius, expectedRadius)) {
201201
return true;
202202
}
203-
throw '''
203+
throw Exception('''
204204
Expected: center == $expectedCenter, radius == $expectedRadius
205-
Found: center == $center radius == $radius''';
205+
Found: center == $center radius == $radius''');
206206
});
207207
}
208208

0 commit comments

Comments
 (0)