summaryrefslogtreecommitdiff
path: root/test/ruby/test_integer_comb.rb
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2023-11-28 15:38:51 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-12-07 13:55:31 +0900
commitaabf2ce181053d37cbf1d6db55ff533055c96d83 (patch)
treeae260297625121ed531e2384bd95bf14340c4d1c /test/ruby/test_integer_comb.rb
parentd89280e8bf6496aa83326b5f9c293724bd1cc1e9 (diff)
[rubygems/rubygems] Use globals variables for standard input/output
Replace use of `STDIN`, `STDOUT` and `STDERR` constants by their `$stdin`, `$stdout` and `$stderr` global variable equivalents. This enables easier testing via standard means, such as `assert_output` for minitest or `expect { print 'foo' }.to output.to_stdout` for RSpec test suites. https://github.com/rubygems/rubygems/commit/a0a6fc1b76
Diffstat (limited to 'test/ruby/test_integer_comb.rb')
0 files changed, 0 insertions, 0 deletions