test/test_hoe.rb in hoe-3.2.0 vs test/test_hoe.rb in hoe-3.3.0
- old
+ new
@@ -386,17 +386,17 @@
assert_equal expected, hoe.read_manifest
end
def test_rename
- # project, file_name, klass = Hoe.normalize_names 'project_name'
+ # project, file_name, klass, test_klass = Hoe.normalize_names 'project_name'
- assert_equal %w( word word Word), Hoe.normalize_names('word')
- assert_equal %w( word word Word), Hoe.normalize_names('Word')
- assert_equal %w(two_words two_words TwoWords), Hoe.normalize_names('TwoWords')
- assert_equal %w(two_words two_words TwoWords), Hoe.normalize_names('twoWords')
- assert_equal %w(two-words two/words Two::Words), Hoe.normalize_names('two-words')
- assert_equal %w(two_words two_words TwoWords), Hoe.normalize_names('two_words')
+ assert_equal %w( word word Word TestWord), Hoe.normalize_names('word')
+ assert_equal %w( word word Word TestWord), Hoe.normalize_names('Word')
+ assert_equal %w(two_words two_words TwoWords TestTwoWords), Hoe.normalize_names('TwoWords')
+ assert_equal %w(two_words two_words TwoWords TestTwoWords), Hoe.normalize_names('twoWords')
+ assert_equal %w(two-words two/words Two::Words TestTwo::TestWords), Hoe.normalize_names('two-words')
+ assert_equal %w(two_words two_words TwoWords TestTwoWords), Hoe.normalize_names('two_words')
end
def test_nosudo
hoe = Hoe.spec("blah") do
self.version = '1.2.3'