diff --git a/pkgs/cupertino_http/example/integration_test/url_session_test.dart b/pkgs/cupertino_http/example/integration_test/url_session_test.dart index bcbd6a8450..17ba17393d 100644 --- a/pkgs/cupertino_http/example/integration_test/url_session_test.dart +++ b/pkgs/cupertino_http/example/integration_test/url_session_test.dart @@ -99,7 +99,7 @@ void testDataTaskWithCompletionHandler(URLSession session) { }).resume(); await c.future; - expect(data, null); + expect(data!.length, 0); expect( response, isA()