Skip to content

Commit 9eb1938

Browse files
author
Edward Thomson
committed
patch::parse: test diff with exact rename and copy
1 parent 8a670dc commit 9eb1938

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/diff/parse.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,10 @@ void test_diff_parse__can_parse_generated_diff(void)
139139
"31e47d8c1fa36d7f8d537b96158e3f024de0a9f2",
140140
"2bc7f351d20b53f1c72c16c4b036e491c478c49a",
141141
0, GIT_DIFF_FIND_RENAMES);
142+
test_tree_to_tree_computed_to_parsed("renames",
143+
"31e47d8c1fa36d7f8d537b96158e3f024de0a9f2",
144+
"2bc7f351d20b53f1c72c16c4b036e491c478c49a",
145+
GIT_DIFF_INCLUDE_UNMODIFIED,
146+
GIT_DIFF_FIND_COPIES_FROM_UNMODIFIED | GIT_DIFF_FIND_EXACT_MATCH_ONLY);
142147
}
143148

0 commit comments

Comments
 (0)