test/test_commit.rb in mercurial-ruby-0.7.2 vs test/test_commit.rb in mercurial-ruby-0.7.3

- old
+ new

@@ -69,7 +69,12 @@ stats['files'].must_equal 3 stats['additions'].must_equal 85 stats['deletions'].must_equal 6 stats['total'].must_equal 91 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) + end end