1 parent 2c4aadf commit 853f25dCopy full SHA for 853f25d
1 file changed
t/Plack-MIME/fallback.t
@@ -3,9 +3,9 @@ use Test::Requires qw(MIME::Types);
3
use Plack::MIME;
4
use MIME::Types 'by_suffix';
5
6
-is( Plack::MIME->mime_type(".vcd"), undef );
+is( Plack::MIME->mime_type(".ncm"), undef );
7
8
Plack::MIME->set_fallback(sub { (by_suffix $_[0])[0] });
9
-is( Plack::MIME->mime_type(".vcd"), "application/x-cdlink" );
+is( Plack::MIME->mime_type(".ncm"), "application/vnd.nokia.configuration-message" );
10
11
done_testing;
0 commit comments