diff --git a/pubspec.yaml b/pubspec.yaml index f1e55c8..25f7469 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ environment: dependencies: dio: ^5.7.0 - http_parser: ^4.1.0 + http_parser: ^4.0.2 path: ^1.9.0 dev_dependencies: diff --git a/test/disable_retry_test.dart b/test/disable_retry_test.dart index 7decf5f..22f0bf1 100644 --- a/test/disable_retry_test.dart +++ b/test/disable_retry_test.dart @@ -1,4 +1,6 @@ @TestOn('vm') +library; + import 'package:dio/dio.dart'; import 'package:dio_smart_retry/dio_smart_retry.dart'; import 'package:test/test.dart'; diff --git a/test/multipart_retry_tests.dart b/test/multipart_retry_tests.dart index 26b71da..b4e0466 100644 --- a/test/multipart_retry_tests.dart +++ b/test/multipart_retry_tests.dart @@ -1,4 +1,6 @@ @TestOn('vm') +library; + import 'package:dio/dio.dart'; import 'package:dio_smart_retry/dio_smart_retry.dart'; import 'package:test/test.dart'; diff --git a/test/override_retryable_statuses_test.dart b/test/override_retryable_statuses_test.dart index c35b620..26bfcca 100644 --- a/test/override_retryable_statuses_test.dart +++ b/test/override_retryable_statuses_test.dart @@ -1,4 +1,6 @@ @TestOn('vm') +library; + import 'package:dio/dio.dart'; import 'package:dio_smart_retry/dio_smart_retry.dart'; import 'package:test/test.dart'; diff --git a/test/test_issue_2.dart b/test/test_issue_2.dart index 6e7f2f6..5e30316 100644 --- a/test/test_issue_2.dart +++ b/test/test_issue_2.dart @@ -1,5 +1,7 @@ // https://github.com/rodion-m/dio_smart_retry/issues/2 @TestOn('vm') +library; + import 'package:dio/dio.dart'; import 'package:dio_smart_retry/dio_smart_retry.dart';