Skip to content

Commit

Permalink
fix: Issues with incompatibility of versions of test packages have be…
Browse files Browse the repository at this point in the history
…en fixed

The correct approach to connecting the test package has been implemented.
  • Loading branch information
yegor-pelykh committed Feb 1, 2022
1 parent cce2297 commit 7457780
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ issue_tracker: https://github.com/yegor-pelykh/coingecko_api/issues
environment:
sdk: '>=2.12.0 <3.0.0'

dev_dependencies:
flutter_test:
sdk: flutter

dependencies:
dio: ^4.0.4
intl: ^0.17.0
test: ^1.20.1
2 changes: 1 addition & 1 deletion test/coingecko_api_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:coingecko_api/coingecko_api.dart';
import 'package:coingecko_api/data/enumerations.dart';
import 'package:coingecko_api/helpers/helpers.dart';
import 'package:test/test.dart';
import 'package:flutter_test/flutter_test.dart';

void main() async {
CoinGeckoApi api = CoinGeckoApi(rateLimitManagement: false);
Expand Down

0 comments on commit 7457780

Please sign in to comment.