summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorMichael Siegfried <michaeldsiegfried@gmail.com>2022-11-16 18:00:26 -0800
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-20 13:15:02 +0900
commit42972bdd9259c93c007ecb48987f0b617a5f21e0 (patch)
tree6ad917c93908ec2977047559a77561d6f763182d /spec/ruby
parentc436f52fe81b90e09376c9b75ac4cb4a4b090e32 (diff)
[rubygems/rubygems] Test the public interface
With `GemVersionPromoter#sort_versions` being so simple, we no longer need to reach into the class's internals to make private methods public in order to effectively test. We can just allow both cases to go through the main method. https://github.com/rubygems/rubygems/commit/6cbe891003
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6966
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions