mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] Support GitHub Actions
https://github.com/ruby/irb/commit/8e9e6c4037
This commit is contained in:
parent
b2159f7c38
commit
4da4ad69bb
1 changed files with 3 additions and 3 deletions
|
@ -447,7 +447,7 @@ module TestIRB
|
|||
irb.eval_input
|
||||
end
|
||||
assert_empty err
|
||||
if '2.5.0' <= RUBY_VERSION && RUBY_VERSION < '3.0.0'
|
||||
if '2.5.0' <= RUBY_VERSION && RUBY_VERSION < '3.0.0' && STDOUT.tty?
|
||||
expected = [
|
||||
:*, /Traceback \(most recent call last\):\n/,
|
||||
:*, /\t 2: from \(irb\):1:in `<main>'\n/,
|
||||
|
@ -477,7 +477,7 @@ module TestIRB
|
|||
irb.eval_input
|
||||
end
|
||||
assert_empty err
|
||||
if '2.5.0' <= RUBY_VERSION && RUBY_VERSION < '3.0.0'
|
||||
if '2.5.0' <= RUBY_VERSION && RUBY_VERSION < '3.0.0' && STDOUT.tty?
|
||||
expected = [
|
||||
:*, /Traceback \(most recent call last\):\n/,
|
||||
:*, /\t 2: from \(irb\):1:in `<main>'\n/,
|
||||
|
@ -513,7 +513,7 @@ module TestIRB
|
|||
irb.eval_input
|
||||
end
|
||||
assert_empty err
|
||||
if '2.5.0' <= RUBY_VERSION && RUBY_VERSION < '3.0.0'
|
||||
if '2.5.0' <= RUBY_VERSION && RUBY_VERSION < '3.0.0' && STDOUT.tty?
|
||||
expected = [
|
||||
:*, /Traceback \(most recent call last\):\n/,
|
||||
:*, /\t... 5 levels...\n/,
|
||||
|
|
Loading…
Add table
Reference in a new issue