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
This commit is contained in:
parent
66d6ef870a
commit
4efc49ef2b
|
@ -90,10 +90,12 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
|
||||||
assert_equal %w|28 27|, changesets.collect(&:revision)
|
assert_equal %w|28 27|, changesets.collect(&:revision)
|
||||||
|
|
||||||
# with_filepath
|
# 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)
|
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)
|
assert_equal %w|12 9|, changesets.collect(&:revision)
|
||||||
|
|
||||||
changesets = @repository.latest_changesets('README', nil)
|
changesets = @repository.latest_changesets('README', nil)
|
||||||
|
|
Loading…
Reference in New Issue