mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
9348643575
Synced from 5feb361ed8
.
This includes a support to colorize named Class instance on IRB inspect.
12 lines
330 B
Ruby
12 lines
330 B
Ruby
# frozen_string_literal: false
|
|
require 'test/unit'
|
|
|
|
module TestIRB
|
|
class TestOption < Test::Unit::TestCase
|
|
def test_end_of_option
|
|
bug4117 = '[ruby-core:33574]'
|
|
status = assert_in_out_err(%w[-W0 -rirb -e IRB.start(__FILE__) -- -f --], "", //, [], bug4117)
|
|
assert(status.success?, bug4117)
|
|
end
|
|
end
|
|
end
|