From 403fb37d1c2d3f9609f144dbc9c9b69b4c6c8b0f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 18 Jan 2015 16:40:59 +0000 Subject: [PATCH] fix assertion order at RepositoryCvsTest#test_entries_rev3 git-svn-id: http://svn.redmine.org/redmine/trunk@13907 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_cvs_test.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb index b4eb00808..86e3737e4 100644 --- a/test/unit/repository_cvs_test.rb +++ b/test/unit/repository_cvs_test.rb @@ -188,12 +188,12 @@ class RepositoryCvsTest < ActiveSupport::TestCase entries = @repository.entries('', '3') assert_kind_of Redmine::Scm::Adapters::Entries, entries assert_equal 3, entries.size - assert_equal entries[2].name, "README" + assert_equal "README", entries[2].name assert_equal 'UTF-8', entries[2].path.encoding.to_s - assert_equal entries[2].lastrev.time, Time.gm(2007, 12, 13, 16, 27, 22) - assert_equal entries[2].lastrev.identifier, '3' - assert_equal entries[2].lastrev.revision, '3' - assert_equal entries[2].lastrev.author, 'LANG' + assert_equal Time.gm(2007, 12, 13, 16, 27, 22), entries[2].lastrev.time + assert_equal '3', entries[2].lastrev.identifier + assert_equal '3', entries[2].lastrev.revision + assert_equal 'LANG', entries[2].lastrev.author end def test_entries_invalid_path -- 2.39.5