From 9bbf6cf5e65718fbe777bb3bde0f3929bfefa04f Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Tue, 8 Nov 2022 11:55:30 +0100 Subject: [PATCH] Unskip test_multiple_inline_scripts on TruffleRuby * StringIO is thread-safe now so this test should pass reliably. --- test/cli_test.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/cli_test.rb b/test/cli_test.rb index c00fb338..b4ef0afc 100644 --- a/test/cli_test.rb +++ b/test/cli_test.rb @@ -148,7 +148,6 @@ def test_inline_script end def test_multiple_inline_scripts - skip if RUBY_ENGINE == "truffleruby" # Relies on a thread-safe StringIO stdio, = capture_io { SyntaxTree::CLI.run(%w[format -e 1+1 -e 2+2]) } assert_equal(["1 + 1", "2 + 2"], stdio.split("\n").sort) end