Skip to content

Commit

Permalink
fix tests for matrix-org/synapse#2090
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Apr 1, 2017
1 parent a1190e5 commit b5555cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/51media/03ascii.pl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sub test_using_client
my ( $body, $response ) = @_;

my $disposition = $response->header( "Content-Disposition" );
$disposition eq "inline; filename=ascii" or
$disposition eq "inline; filename*=utf-8''ascii" or
die "Expected a UTF-8 filename parameter";

Future->done(1);
Expand Down Expand Up @@ -90,7 +90,7 @@ sub test_using_client
my ( $body, $response ) = @_;

my $disposition = $response->header( "Content-Disposition" );
$disposition eq "inline; filename=also_ascii" or
$disposition eq "inline; filename*=utf-8''also_ascii" or
die "Expected a UTF-8 filename parameter";

Future->done(1);
Expand Down

0 comments on commit b5555cb

Please sign in to comment.