mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Fix for Ruby 1.8.7
Added a test to catch the case better
This commit is contained in:
9
test/fixtures/hello-var.gsp
vendored
Normal file
9
test/fixtures/hello-var.gsp
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Testing with SiteMesh and ${example}</title>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
@@ -337,7 +337,7 @@ class TestBlob < Test::Unit::TestCase
|
||||
assert_equal Language['Groovy Server Pages'], blob("bar.gsp").language
|
||||
assert_equal Language['Groovy Server Pages'], blob("hello-resources.gsp").language
|
||||
assert_equal Language['Groovy Server Pages'], blob("hello-pagedirective.gsp").language
|
||||
|
||||
assert_equal Language['Groovy Server Pages'], blob("hello-var.gsp").language
|
||||
end
|
||||
|
||||
def test_lexer
|
||||
|
||||
Reference in New Issue
Block a user