]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/hl_mod.t
fetch: fix half-baked v1 manifest.js.gz handling
[public-inbox.git] / t / hl_mod.t
index f5bf433db1375eceb122ada7c8b96afa2b41d957..ffe9e784489cc32fdbbe6bcf2383c44ec3cd02d7 100644 (file)
@@ -16,7 +16,7 @@ ok($hls, 'initialized OK');
 is($hls->_shebang2lang(\"#!/usr/bin/perl -w\n"), 'perl', 'perl shebang OK');
 is($hls->{-ext2lang}->{'pm'}, 'perl', '.pm suffix OK');
 is($hls->{-ext2lang}->{'pl'}, 'perl', '.pl suffix OK');
-is($hls->_path2lang('Makefile'), 'make', 'Makefile OK');
+like($hls->_path2lang('Makefile'), qr/\Amake/, 'Makefile OK');
 my $str = do { local $/; open(my $fh, __FILE__); <$fh> };
 my $orig = $str;