Skip to content

Commit

Permalink
Use year in the past in test
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusbaeck committed Jan 9, 2025
1 parent 37fb1b6 commit 0b4e83c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test_bump_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ def test_transform_definition_updates_range():
"""
),
semver.VersionInfo.parse("2.0.0"),
copyright_year=2025,
copyright_year=2023
)
== textwrap.dedent(
"""\
# Copyright 2020-2025 Company Name, Inc.
# Copyright 2020-2023 Company Name, Inc.
"""
)
)
Expand All @@ -68,11 +68,11 @@ def test_transform_definition_turn_year_into_range():
"""
),
semver.VersionInfo.parse("2.0.0"),
copyright_year=2025,
copyright_year=2023,
)
== textwrap.dedent(
"""\
# Copyright 2020-2025 Company Name, Inc.
# Copyright 2020-2023 Company Name, Inc.
"""
)
)
Expand Down

0 comments on commit 0b4e83c

Please sign in to comment.