summaryrefslogtreecommitdiff
path: root/test/irb/test_color_printer.rb
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/irb] Drop Ruby 2.6 supportStan Lo2023-04-051-7/+0
| | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/555) * Remove all Ruby 2.6 support * Drop Ruby 2.6 specific testing conditions * Only run Ruby 2.7+ on CI * Bump Ruby requirement to 2.7+ https://github.com/ruby/irb/commit/3f714b616c
* [ruby/irb] Test colors with enabling colorsNobuyoshi Nakada2022-12-261-0/+8
| | | | https://github.com/ruby/irb/commit/998b7a74fa
* [ruby/irb] Provide a base test class and let tests restore encodingsStan Lo2022-11-031-2/+3
| | | | | | | | | | | | | | | | | | | | | | | conveniently (https://github.com/ruby/irb/pull/429) * Create a base TestIRB::TestCase class * Save/restore encodings for tests that initializes InputMethod classes Because `RelineInputMethod#initializes` calls `set_encoding`, which changes stdio/out/err and Encoding's default encoding values, we need to make sure any test that directly or indirectly (e.g. through Context) initializes `RelineInputMethod` restores encodings. `ReadlineInputMethod` also changes encodings but currently no tests cover it. * Remove unnecessary TestHelper module Since we now have a base TestCase, without_rdoc can just live there. https://github.com/ruby/irb/commit/c2874ec121
* [ruby/irb] Use pend instead of skipHiroshi SHIBATA2021-08-301-1/+1
| | | | https://github.com/ruby/irb/commit/f441ce35bf
* [ruby/irb] Don't call Ruby 2.4+'s String#pretty_printTakashi Kokubun2021-03-201-0/+1
| | | | https://github.com/ruby/irb/commit/89bcf107be
* [ruby/irb] Undefine unused constantsTakashi Kokubun2021-01-201-4/+0
| | | | https://github.com/ruby/irb/commit/eea9c16804
* [ruby/irb] Split test files for IRB::Color and IRB::ColorPrinterTakashi Kokubun2021-01-201-0/+71
https://github.com/ruby/irb/commit/d95e8daab3