From 7484096cdcaf936e4e29c45b5a8b64c3c60bc69a Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 8 Jan 2011 08:45:40 +0000 Subject: [PATCH] scm: mercurial: fix assert_equal parameter order at app unit test_find_changeset_by_name(). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4655 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_mercurial_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index 37ef1a7e..da3022c1 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -130,7 +130,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase @repository.fetch_changesets @repository.reload %w|2 400bb8672109 400|.each do |r| - assert_equal @repository.find_changeset_by_name(r).revision, '2' + assert_equal '2', @repository.find_changeset_by_name(r).revision end end