From: Toshi MARUYAMA Date: Sun, 8 May 2011 05:10:05 +0000 (+0000) Subject: scm: mercurial: remove trailing white-spaces from unit model test. X-Git-Tag: 1.2.0~187 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f289d4e3542d0184446835809d8ab8eb967a800e;p=redmine.git scm: mercurial: remove trailing white-spaces from unit model test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5704 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index 7d6437f32..6b79f7655 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -1,16 +1,16 @@ -# redMine - project management software -# Copyright (C) 2006-2007 Jean-Philippe Lang +# Redmine - project management software +# Copyright (C) 2006-2011 Jean-Philippe Lang # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -153,7 +153,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase changesets = @repository.latest_changesets('sources', 'tag_test.00') assert_equal %w|4 3 2 1 0|, changesets.collect(&:revision) - + changesets = @repository.latest_changesets('sources', 'tag_test.00', 2) assert_equal %w|4 3|, changesets.collect(&:revision)