summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_mercurial_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-14 08:14:38 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-14 08:14:38 +0000
commit620e428e95140b4bb3730251d7e08f761a712495 (patch)
tree60b3e3b4d0ad7fb32ce1b5bed799105127b4b5a0 /test/unit/repository_mercurial_test.rb
parentcbe59c5990ed2c224d82932d84b3f66fa8f6981e (diff)
downloadredmine-620e428e95140b4bb3730251d7e08f761a712495.tar.gz
redmine-620e428e95140b4bb3730251d7e08f761a712495.zip
scm: mercurial: code clean up unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5116 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_mercurial_test.rb')
-rw-r--r--test/unit/repository_mercurial_test.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb
index 28cb762ca..ae106d884 100644
--- a/test/unit/repository_mercurial_test.rb
+++ b/test/unit/repository_mercurial_test.rb
@@ -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)