mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Ensure pbc is treated as binary
This commit is contained in:
@@ -43,6 +43,7 @@ application/x-iwork-keynote-sffkey @key
|
|||||||
application/x-iwork-numbers-sffnumbers @numbers
|
application/x-iwork-numbers-sffnumbers @numbers
|
||||||
application/x-iwork-pages-sffpages @pages
|
application/x-iwork-pages-sffpages @pages
|
||||||
application/x-ms-xbap @xbap :8bit
|
application/x-ms-xbap @xbap :8bit
|
||||||
|
application/x-parrot-bytecode @pbc
|
||||||
application/x-shockwave-flash @swf
|
application/x-shockwave-flash @swf
|
||||||
application/x-silverlight-app @xap
|
application/x-silverlight-app @xap
|
||||||
application/x-supercollider @sc :8bit
|
application/x-supercollider @sc :8bit
|
||||||
@@ -52,8 +53,8 @@ application/xaml+xml @xaml :8bit
|
|||||||
image/x-icns @icns
|
image/x-icns @icns
|
||||||
text/cache-manifest @manifest
|
text/cache-manifest @manifest
|
||||||
text/plain @cu,cxx
|
text/plain @cu,cxx
|
||||||
|
text/x-nemerle @n
|
||||||
text/x-nimrod @nim
|
text/x-nimrod @nim
|
||||||
text/x-ocaml @ml,mli,mll,mly,sig,sml
|
text/x-ocaml @ml,mli,mll,mly,sig,sml
|
||||||
text/x-nemerle @n
|
|
||||||
text/x-rust @rs,rc
|
text/x-rust @rs,rc
|
||||||
text/x-scheme @rkt,scm,sls,sps,ss
|
text/x-scheme @rkt,scm,sls,sps,ss
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ class TestBlob < Test::Unit::TestCase
|
|||||||
def test_binary
|
def test_binary
|
||||||
assert blob("git.deb").binary?
|
assert blob("git.deb").binary?
|
||||||
assert blob("git.exe").binary?
|
assert blob("git.exe").binary?
|
||||||
|
assert blob("hello.pbc").binary?
|
||||||
assert blob("linguist.gem").binary?
|
assert blob("linguist.gem").binary?
|
||||||
assert blob("octocat.ai").binary?
|
assert blob("octocat.ai").binary?
|
||||||
assert blob("octocat.png").binary?
|
assert blob("octocat.png").binary?
|
||||||
@@ -324,7 +325,7 @@ class TestBlob < Test::Unit::TestCase
|
|||||||
# https://github.com/parrot/parrot
|
# https://github.com/parrot/parrot
|
||||||
assert_equal Language['Parrot Internal Representation'], blob("hello.pir").language
|
assert_equal Language['Parrot Internal Representation'], blob("hello.pir").language
|
||||||
assert_equal Language['Parrot Assembly'], blob("hello.pasm").language
|
assert_equal Language['Parrot Assembly'], blob("hello.pasm").language
|
||||||
|
|
||||||
# http://gosu-lang.org
|
# http://gosu-lang.org
|
||||||
assert_equal Language['Gosu'], blob("Hello.gs").language
|
assert_equal Language['Gosu'], blob("Hello.gs").language
|
||||||
assert_equal Language['Gosu'], blob("Hello.gsx").language
|
assert_equal Language['Gosu'], blob("Hello.gsx").language
|
||||||
|
|||||||
Reference in New Issue
Block a user