]> source.dussan.org Git - redmine.git/commitdiff
test_revisions_latin_1_identifier should be skipped on Windows (#32937).
authorGo MAEDA <maeda@farend.jp>
Thu, 6 Feb 2020 12:49:30 +0000 (12:49 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 6 Feb 2020 12:49:30 +0000 (12:49 +0000)
Patch by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@19499 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/scm/adapters/git_adapter_test.rb

index 6814c39317e9e09f60909a23f872e0fb9958dab4..3a9cb303bebf1431da9cfc74b08e24d7a30cdb77 100644 (file)
@@ -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