1 require File.dirname(__FILE__) + '/../test_helper'
3 class Ohcount::SmalltalkTest < Ohcount::Test
6 lb = [Ohcount::LanguageBreakdown.new("smalltalk", "", '"comment\\"', 0)]
7 assert_equal lb, Ohcount::parse(' "comment\\"', "smalltalk")
10 def test_comprehensive
11 verify_parse("smalltalk1.st")
14 def test_comment_entities
15 assert_equal('"comment"', entities_array(" \"comment\"", 'smalltalk', :comment).first)