From fe4ad779ea56bf13c3fa80c4da1651f28e491a5c Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Mon, 14 Mar 2022 13:45:35 +0000 Subject: [PATCH] Update packages/geometry/test/src/geometry_test.dart Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com> --- packages/geometry/test/src/geometry_test.dart | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/geometry/test/src/geometry_test.dart b/packages/geometry/test/src/geometry_test.dart index b479990c..086bb568 100644 --- a/packages/geometry/test/src/geometry_test.dart +++ b/packages/geometry/test/src/geometry_test.dart @@ -158,12 +158,9 @@ void main() { }); group('centroid', () { - test( - 'throws AssertionError when vertices are empty', - () { - expect(() => centroid([]), throwsAssertionError); - }, - ); + test('throws AssertionError when vertices are empty', () { + expect(() => centroid([]), throwsAssertionError); + }); test( 'is correct when one vertex is given',