Fix for Ruby 1.8.7

Added a test to catch the case better
This commit is contained in:
Jeff Beck
2011-08-29 12:20:36 -05:00
parent 3dd06de711
commit 5c93120502
3 changed files with 11 additions and 2 deletions

View File

@@ -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