diff --git a/packages/sane/test/sane_singleton_test.dart b/packages/sane/test/sane_singleton_test.dart index 34517b6..25e81ca 100644 --- a/packages/sane/test/sane_singleton_test.dart +++ b/packages/sane/test/sane_singleton_test.dart @@ -18,7 +18,10 @@ void main() { }); test('throws upon use', () { - expect(() => sane.getDevices(localOnly: true), throwsStateError); + expect( + () => sane.getDevices(localOnly: true), + throwsA(isA()), + ); }); test('can reinstiate with new instance', () {