[FIX] Rake now passes.
authorRobin Luckey <robin@Tangier.local>
Wed, 21 Jan 2009 18:57:27 +0000 (10:57 -0800)
committerRobin Luckey <robin@Tangier.local>
Wed, 21 Jan 2009 18:57:27 +0000 (10:57 -0800)
test/unit/hg_parser_test.rb

index da821e36fb258b0e0135471b8b31a0ce1bae7c0c..a007c8d2b746f9889827a9360642bd010a8c23f6 100644 (file)
@@ -108,7 +108,7 @@ SAMPLE
                                assert FileTest.exist?(HgStyledParser.style_path)
                                log = hg.run("cd #{hg.url} && hg log --style #{Scm::Parsers::HgStyledParser.style_path}")
                                commits = Scm::Parsers::HgStyledParser.parse(log)
-                               assert_styled_commits(commits, true)
+                               assert_styled_commits(commits, false)
 
                                assert FileTest.exist?(HgStyledParser.verbose_style_path)
                                log = hg.run("cd #{hg.url} && hg log --style #{Scm::Parsers::HgStyledParser.verbose_style_path}")
@@ -118,6 +118,7 @@ SAMPLE
                end
 
                protected
+
                def assert_styled_commits(commits, with_diffs=false)
                        assert_equal 4, commits.size