projects
/
ohcount
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial Revision
[ohcount]
/
test
/
unit
/
groovy_test.rb
1
require File.dirname(__FILE__) + '/../test_helper'
2
3
class GroovyTest < LingoTest
4
def test_comments
5
lb = [Ohcount::LanguageBreakdown.new("groovy", "", "//comment", 0)]
6
assert_equal lb, Ohcount::parse(" //comment", "groovy")
7
end
8
9
def test_comprehensive
10
verify_parse("groovy1.groovy")
11
end
12
13
end