]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: code clean up unit model test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 14 Mar 2011 08:14:38 +0000 (08:14 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 14 Mar 2011 08:14:38 +0000 (08:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5116 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_mercurial_test.rb

index 28cb762ca962fb0ea6d85657b11af66aba4bbed6..ae106d8845d281bff4bee59e6b6e537362bc2158 100644 (file)
@@ -90,10 +90,12 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
       assert_equal %w|28 27|, changesets.collect(&:revision)
 
       # with_filepath
-      changesets = @repository.latest_changesets('/sql_escape/percent%dir/percent%file1.txt', nil)
+      changesets = @repository.latest_changesets(
+                      '/sql_escape/percent%dir/percent%file1.txt', nil)
       assert_equal %w|11 10 9|, changesets.collect(&:revision)
 
-      changesets = @repository.latest_changesets('/sql_escape/underscore_dir/understrike_file.txt', nil)
+      changesets = @repository.latest_changesets(
+                      '/sql_escape/underscore_dir/understrike_file.txt', nil)
       assert_equal %w|12 9|, changesets.collect(&:revision)
 
       changesets = @repository.latest_changesets('README', nil)