mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-02-07 08:55:58 +00:00
First stab at adding support for Rust.
This commit is contained in:
@@ -298,6 +298,9 @@ class TestBlob < Test::Unit::TestCase
|
||||
|
||||
# https://github.com/dharmatech/agave/blob/master/demos/asteroids.sps
|
||||
assert_equal Language['Scheme'], blob("asteroids.sps").language
|
||||
|
||||
# https://github.com/graydon/rust
|
||||
assert_equal Language['Rust'], blob("hello.rs").language
|
||||
end
|
||||
|
||||
def test_lexer
|
||||
|
||||
Reference in New Issue
Block a user