aboutsummaryrefslogtreecommitdiffstats
path: root/test/irb/test_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/test_context.rb')
-rw-r--r--test/irb/test_context.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/irb/test_context.rb b/test/irb/test_context.rb
index a57557af94..ef7e2c5b69 100644
--- a/test/irb/test_context.rb
+++ b/test/irb/test_context.rb
@@ -68,6 +68,7 @@ module TestIRB
end
def test_evaluate_with_encoding_error_without_lineno
+ skip if RUBY_ENGINE == 'truffleruby'
assert_raise_with_message(EncodingError, /invalid symbol/) {
@context.evaluate(%q[{"\xAE": 1}], 1)
# The backtrace of this invalid encoding hash doesn't contain lineno.
@@ -75,6 +76,7 @@ module TestIRB
end
def test_evaluate_with_onigmo_warning
+ skip if RUBY_ENGINE == 'truffleruby'
assert_warning("(irb):1: warning: character class has duplicated range: /[aa]/\n") do
@context.evaluate('/[aa]/', 1)
end