projects
/
ohcount
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merged with Mitchell's branch and resolved conflicts. Haml support remains rudimentary.
[ohcount]
/
test
/
unit
/
haml_test.rb
1
require File.dirname(__FILE__) + '/../test_helper'
2
3
class Ohcount::HamlTest < Ohcount::Test
4
def test_line_comment
5
lb = [Ohcount::LanguageBreakdown.new("haml", "", "/ comment", 0)]
6
assert_equal lb, Ohcount::parse("/ comment", "haml")
7
end
8
9
def test_comprehensive
10
verify_parse("haml.haml")
11
end
12
end