1 require File.dirname(__FILE__) + '/../test_helper'
3 class AwkTest < LingoTest
5 lb = [Ohcount::LanguageBreakdown.new("awk", "", "#comment", 0)]
6 assert_equal lb, Ohcount::parse(" #comment", "awk")
10 lb = [Ohcount::LanguageBreakdown.new("awk", "\"\\\\\"\n", "#comment", 0)]
11 # awk doesn't recognize backslash escaping of double quote...weird
12 assert_equal lb, Ohcount::parse("\"\\\\\"\n#comment", "awk")
15 def test_comprehensive
16 verify_parse("awk1.awk")