Update packages/geometry/test/src/geometry_test.dart

Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
pull/38/head
Alejandro Santiago 4 years ago committed by GitHub
parent af626b927c
commit fe4ad779ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -158,12 +158,9 @@ void main() {
}); });
group('centroid', () { group('centroid', () {
test( test('throws AssertionError when vertices are empty', () {
'throws AssertionError when vertices are empty', expect(() => centroid([]), throwsAssertionError);
() { });
expect(() => centroid([]), throwsAssertionError);
},
);
test( test(
'is correct when one vertex is given', 'is correct when one vertex is given',

Loading…
Cancel
Save