Skip to content

Add tests for deprecations #833

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 8, 2025
Merged

Add tests for deprecations #833

merged 6 commits into from
Jul 8, 2025

Conversation

jcouball
Copy link
Member

@jcouball jcouball commented Jul 8, 2025

Eliminate deprecation warnings from internal Git classes.

Add tests that verify that when deprecated methods are called, the deprecation warning is given.

Also, add tests for Base#set_index and Base#set_working.

jcouball added 6 commits July 8, 2025 16:36
This class is internal only as well as the classes that inherit
from it (Git::Index and Git::WorkingTree). Remove the
deprecation warning and just remove the deprecated code.
Since Git::Stash#initialize is an internal only method, remove
the deprecation warning and removed the deprecated code.
@jcouball jcouball merged commit ee11137 into main Jul 8, 2025
7 checks passed
@jcouball jcouball deleted the tests_for_deprecations branch July 8, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant