Skip to content

Commit

Permalink
Unskip a skipped test (#966)
Browse files Browse the repository at this point in the history
The linked issue is closed as fixed.

Skip only when required by the client implementation.
  • Loading branch information
natebosch committed Jun 16, 2023
1 parent ba7eb60 commit 8c25057
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ void testRedirect(Client client, {bool redirectAlwaysAllowed = false}) async {
client.send(request),
throwsA(isA<ClientException>()
.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'))
Expand Down

0 comments on commit 8c25057

Please sign in to comment.