Adding support to detect the difference between a Grails gsp and a Gosu gsp.

This commit is contained in:
Jeff Beck
2011-08-29 11:27:40 -05:00
parent 5b9b46116b
commit 3dd06de711
6 changed files with 64 additions and 0 deletions

View File

@@ -332,6 +332,12 @@ class TestBlob < Test::Unit::TestCase
assert_equal Language['Gosu'], blob("hello.gsp").language
assert_equal Language['Gosu'], blob("Hello.gst").language
assert_equal Language['Gosu'], blob("hello.vark").language
#Groovy Server Pages
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
end
def test_lexer