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