From ddae8d9cf136593a7914a2fd1537bac60d14658d Mon Sep 17 00:00:00 2001 From: thosakwe Date: Fri, 27 Jan 2017 22:48:55 -0500 Subject: [PATCH] Fixed test --- test/all_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/all_test.dart b/test/all_test.dart index 3043e126..d30b7554 100644 --- a/test/all_test.dart +++ b/test/all_test.dart @@ -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 {