Initial Revision
[ohcount] / test / unit / shell_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2
3 class ShellTest < LingoTest
4         def test_comment
5                 lb = [Ohcount::LanguageBreakdown.new("shell", "", "#comment", 0)]
6                 assert_equal lb, Ohcount::parse(" #comment", "shell")
7         end
8
9         def test_comprehensive
10                 verify_parse("sh1.sh")
11         end
12 end