Add "View annotation prior to this change" button in the annotate view of Git (#35432).

Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2023-04-30 04:00:57 +00:00
parent 24fc9a2a8e
commit d97beec1d4
8 changed files with 38 additions and 3 deletions

View File

@@ -437,6 +437,10 @@ class GitAdapterTest < ActiveSupport::TestCase
assert_equal "7234cb2750b63f47bff735edc50a1c0a433c2518",
annotate.revisions[4].identifier
assert_equal "jsmith", annotate.revisions[4].author
assert_equal "4a79347ea4b7184938d9bbea0fd421a6079f71bb",
annotate.previous_annotations[22].split[0]
assert_equal "sources/watchers_controller.rb",
annotate.previous_annotations[22].split[1]
end
def test_annotate_latin_1_identifier