Skip to content

Commit

Permalink
Fix test of contentLength
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jan 25, 2017
1 parent b0d3a96 commit af161a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/basic_file_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void main() {
return makeRequest(handler, '/root.txt', headers: headers)
.then((response) {
expect(response.statusCode, HttpStatus.NOT_MODIFIED);
expect(response.contentLength, isNull);
expect(response.contentLength, 0);
});
});
});
Expand Down Expand Up @@ -170,7 +170,7 @@ void main() {
return makeRequest(handler, '/root.txt', headers: headers)
.then((response) {
expect(response.statusCode, HttpStatus.NOT_MODIFIED);
expect(response.contentLength, isNull);
expect(response.contentLength, 0);
});
});
});
Expand Down

0 comments on commit af161a3

Please sign in to comment.