Skip to content

Commit

Permalink
Merge pull request #525 from matrix-org/travis/ascii-uploads
Browse files Browse the repository at this point in the history
Use the right error message for ASCII file uploads
  • Loading branch information
turt2live authored Nov 12, 2018
2 parents 16316c8 + 4e06a90 commit 2aa4b99
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 @@ -49,7 +49,7 @@ sub test_using_client

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

Future->done(1);
});
Expand Down Expand Up @@ -91,7 +91,7 @@ sub test_using_client

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

Future->done(1);
});
Expand Down

0 comments on commit 2aa4b99

Please sign in to comment.