format code
diff --git a/test/basic_file_test.dart b/test/basic_file_test.dart
index a61fcb9..b145a0d 100644
--- a/test/basic_file_test.dart
+++ b/test/basic_file_test.dart
@@ -116,8 +116,8 @@
var headers = {HttpHeaders.IF_MODIFIED_SINCE: formatHttpDate(modified)};
- return makeRequest(handler, '/root.txt', headers: headers).then(
- (response) {
+ return makeRequest(handler, '/root.txt', headers: headers)
+ .then((response) {
expect(response.statusCode, HttpStatus.NOT_MODIFIED);
expect(response.contentLength, isNull);
});
@@ -136,8 +136,8 @@
formatHttpDate(modified.subtract(const Duration(seconds: 1)))
};
- return makeRequest(handler, '/root.txt', headers: headers).then(
- (response) {
+ return makeRequest(handler, '/root.txt', headers: headers)
+ .then((response) {
expect(response.statusCode, HttpStatus.OK);
expect(response.lastModified, atSameTimeToSecond(modified));
});
@@ -156,8 +156,8 @@
formatHttpDate(modified.add(const Duration(seconds: 1)))
};
- return makeRequest(handler, '/root.txt', headers: headers).then(
- (response) {
+ return makeRequest(handler, '/root.txt', headers: headers)
+ .then((response) {
expect(response.statusCode, HttpStatus.NOT_MODIFIED);
expect(response.contentLength, isNull);
});