diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-25 09:59:27 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-25 10:51:18 +0900 |
| commit | 2e18228dff4332ec08a0a53ff658ad0bf7133cc0 (patch) | |
| tree | 21fa1dc79629150c93ada0d6bfa8333b65eb50e9 | |
| parent | 52085b66d6352c013c483fa9aac5d0b5c3e121e6 (diff) | |
Use echo with all platforms
| -rw-r--r-- | test/ruby/test_compile_prism.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/ruby/test_compile_prism.rb b/test/ruby/test_compile_prism.rb index b8ca217142..888e3d0a2a 100644 --- a/test/ruby/test_compile_prism.rb +++ b/test/ruby/test_compile_prism.rb @@ -724,11 +724,7 @@ module Prism def test_InterpolatedXStringNode assert_prism_eval('`echo #{1}`') - if /mswin|ucrt/ =~ RUBY_PLATFORM - assert_prism_eval('`echo #{"100"}`') - else - assert_prism_eval('`printf #{"100"}`') - end + assert_prism_eval('`echo #{"100"}`') end def test_MatchLastLineNode |
