From: Go MAEDA Date: Thu, 6 Feb 2020 12:49:30 +0000 (+0000) Subject: test_revisions_latin_1_identifier should be skipped on Windows (#32937). X-Git-Tag: 4.2.0~1212 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=df96636e404b7b6ddba3909550896559d574356d;p=redmine.git test_revisions_latin_1_identifier should be skipped on Windows (#32937). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19499 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb index 6814c3931..3a9cb303b 100644 --- a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @@ -241,10 +241,11 @@ class GitAdapterTest < ActiveSupport::TestCase {:reverse => true}) do |rev| revs1 << rev end + + assert_equal 2, revs1.length + assert_equal '64f1f3e89ad1cb57976ff0ad99a107012ba3481d', revs1[0].identifier + assert_equal '1ca7f5ed374f3cb31a93ae5215c2e25cc6ec5127', revs1[1].identifier end - assert_equal 2, revs1.length - assert_equal '64f1f3e89ad1cb57976ff0ad99a107012ba3481d', revs1[0].identifier - assert_equal '1ca7f5ed374f3cb31a93ae5215c2e25cc6ec5127', revs1[1].identifier end def test_revisions_invalid_rev