From 5718cebf5509f04546a1144961c8acee971a102c Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sun, 24 Sep 2017 14:51:47 -0400 Subject: [PATCH] Fixed test --- test/pub_serve_test.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/pub_serve_test.dart b/test/pub_serve_test.dart index e1466476..571337f4 100644 --- a/test/pub_serve_test.dart +++ b/test/pub_serve_test.dart @@ -62,7 +62,10 @@ main() { test('proxied', () async { var rq = new MockHttpRequest('GET', Uri.parse('/proxy/foo'))..close(); await app.handleRequest(rq); - var response = await rq.response.transform(UTF8.decoder).join(); + var response = await rq.response + .transform(GZIP.decoder) + .transform(UTF8.decoder) + .join(); expect(response, 'pub serve'); });