Skip to content

Commit 65d8490

Browse files
committed
fix: flutter_modular test
1 parent 8bbc2d5 commit 65d8490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutter_modular/test/src/infra/services/bind_service_impl_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void main() {
1818
expect(service.getBind<String>().map((r) => r.value).getOrElse((left) => ''), 'test');
1919
});
2020
test('should throw error not found bind', () {
21-
when(() => injector.get<String>()).thenThrow(BindNotFound('String'));
21+
when(() => injector.getBind<String>()).thenThrow(BindNotFound('String'));
2222
expect(service.getBind<String>().fold(id, id), isA<BindNotFoundException>());
2323
});
2424
});

0 commit comments

Comments
 (0)