Fixed test
This commit is contained in:
parent
7d424436c7
commit
ddae8d9cf1
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ main() {
|
|||
test('can serve files, with correct Content-Type', () async {
|
||||
var response = await client.get("$url/sample.txt");
|
||||
expect(response.body, equals("Hello world"));
|
||||
expect(response.headers[HttpHeaders.CONTENT_TYPE], equals("text/plain"));
|
||||
expect(response.headers[HttpHeaders.CONTENT_TYPE], contains("text/plain"));
|
||||
});
|
||||
|
||||
test('non-existent files are skipped', () async {
|
||||
|
|
Loading…
Reference in a new issue