test/test_commit.rb in mercurial-ruby-0.7.6 vs test/test_commit.rb in mercurial-ruby-0.7.7
- old
+ new
@@ -72,10 +72,10 @@
stats['total'].must_equal 91
end
it "should not die when trying to return stats for a commit without stats" do
commit = @repository.commits.by_hash_id('8173f122b0d0')
- commit.stats.must_equal {}
+ commit.stats.must_equal Hash.new
end
it "should return IDs of it's trivial parents" do
commit = @repository.commits.by_hash_id('bc729b15e2b5')
commit.trivial_parents_ids.must_equal %w(bf6386c0a0ccd1282dbbe51888f52fe82b1806e3)