diff --git a/test/get_it_test.dart b/test/get_it_test.dart index afc6ed9..3755a7d 100644 --- a/test/get_it_test.dart +++ b/test/get_it_test.dart @@ -1056,12 +1056,15 @@ void main() { expect(instance1 is TestClass, true); - expect(() { - getIt.changeTypeInstanceName( - instanceName: 'instanceName', - newInstanceName: 'instanceNameExisting', - ); - }, throwsA(const TypeMatcher())); + expect( + () { + getIt.changeTypeInstanceName( + instanceName: 'instanceName', + newInstanceName: 'instanceNameExisting', + ); + }, + throwsA(const TypeMatcher()), + ); }); test('change registration name of instance', () async {