Skip to content

Commit db07459

Browse files
author
myConsciousness
committed
fix: Refactor for pull request #688
1 parent d0c13e1 commit db07459

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

lib/src/base_response.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:universal_io/io.dart';
5+
import 'dart:io';
66

77
import 'base_client.dart';
88
import 'base_request.dart';

pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ dependencies:
1111
http_parser: ^4.0.0
1212
meta: ^1.3.0
1313
path: ^1.8.0
14-
universal_io: ^2.0.4
1514

1615
dev_dependencies:
1716
fake_async: ^1.2.0

test/response_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void main() {
113113
});
114114

115115
expect(response.cookies.length, 1);
116-
expect(response.cookies[0].name, 'AWSALB');
117-
expect(response.cookies[0].value, 'AWSALB_TEST');
116+
expect(response.cookies.first.name, 'AWSALB');
117+
expect(response.cookies.first.value, 'AWSALB_TEST');
118118
});
119119
}

0 commit comments

Comments
 (0)