diff --git a/pkgs/http_client_conformance_tests/lib/src/redirect_tests.dart b/pkgs/http_client_conformance_tests/lib/src/redirect_tests.dart index 6be306c787..6a5c547709 100644 --- a/pkgs/http_client_conformance_tests/lib/src/redirect_tests.dart +++ b/pkgs/http_client_conformance_tests/lib/src/redirect_tests.dart @@ -51,9 +51,7 @@ void testRedirect(Client client, {bool redirectAlwaysAllowed = false}) async { client.send(request), throwsA(isA() .having((e) => e.message, 'message', 'Redirect limit exceeded'))); - }, - skip: 'Re-enable after https://github.com/dart-lang/sdk/issues/49012 ' - 'is fixed'); + }, skip: redirectAlwaysAllowed ? 'redirects always allowed' : false); test('exactly the right number of allowed redirects', () async { final request = Request('GET', Uri.http(host, '/5'))