Skip to content

Commit

Permalink
Merge pull request #132 from PDOK/fix-error-message
Browse files Browse the repository at this point in the history
fix error message
  • Loading branch information
Shalucik authored Nov 12, 2024
2 parents 135a674 + b60e34f commit 0608dcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def compare_table_definitions(new_definition, old_definition, compare_columns=Tr
old_projection = old_definition.get("projection")
if new_projection != old_projection:
results.append(
f"different projections: {new_projection} changed to {old_projection}"
f"different projections: {old_projection} changed to {new_projection}"
)

column_type_name = get_column_type_name(
Expand Down
2 changes: 1 addition & 1 deletion tests/validations/test_table_definitions_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_table_definitions_check_incorrect_projection():
).check_table_definitions(current_definitions)

assert len(diff) == 1
assert diff[0] == "different projections: 4326 changed to 28992"
assert diff[0] == "different projections: 28992 changed to 4326"


def test_table_definitions_check_incorrect_column_name():
Expand Down

0 comments on commit 0608dcf

Please sign in to comment.