Skip to content

Commit

Permalink
fixing rename file (#1710)
Browse files Browse the repository at this point in the history
  • Loading branch information
danner26 authored Oct 23, 2023
1 parent c0b4897 commit 09e59d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/definitions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _get_diff_from_upstream():
if file.change_type in CHANGE_TYPE_LIST:
# If the file is renamed, ensure we are picking the right schema
if 'R' in file.change_type and path in file.rename_to:
file_list.append((file.rename_from, schema, file.change_type))
file_list.append((file.rename_to, schema, file.change_type))
elif path in file.a_path:
file_list.append((file.a_path, schema, file.change_type))
elif path in file.b_path:
Expand Down

0 comments on commit 09e59d1

Please sign in to comment.