]> source.dussan.org Git - redmine.git/commitdiff
Adds assertion to prevent error in test.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 6 Jan 2011 19:50:41 +0000 (19:50 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 6 Jan 2011 19:50:41 +0000 (19:50 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4644 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_mercurial_test.rb

index 27e45fcc1f6b5becc81040f1b33cba90e1547783..d8daf0f9a98f33eec7839cac977df26149a1bfaf 100644 (file)
@@ -102,6 +102,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
       @repository.reload
 
       cs1 = @repository.changesets.find_by_revision('13')
+      assert_not_nil cs1
       c1  = cs1.changes
       assert_equal 2, c1.size