Pipeline fix

This commit is contained in:
2023-02-08 14:33:29 +00:00
parent 4a542a90bd
commit 87d601a62c
4 changed files with 12 additions and 18 deletions

View File

@@ -108,9 +108,9 @@ void main() {
.thenAnswer((_) async => Future.error(backUpError));
// Then
expect(() async => await sut.getConversationRateFromApi(fromCurrency, toCurrency),
throwsA(predicate((e) =>
e is HttpException &&
e.message == 'Error message')));
expect(() async =>
await sut.getConversationRateFromApi(fromCurrency, toCurrency),
throwsA(predicate(
(e) => e is HttpException && e.message == 'Error message')));
});
}