diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2026-01-08 11:12:15 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2026-01-08 18:35:25 +0000 |
| commit | fc66de3e6b5e28c017c3cffac77a66d680d679a4 (patch) | |
| tree | a086487e7b71268075aa5213957c43acc46e9fb3 /test | |
| parent | 3bfc86558b7a314417399470b5204a914f2ca3ff (diff) | |
[ruby/prism] Remove unneeded `ripper` requires
Ripper is either not used or loaded where it is actually needed
https://github.com/ruby/prism/commit/a73a4fb00c
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/magic_comment_test.rb | 1 | ||||
| -rw-r--r-- | test/prism/ruby/ripper_test.rb | 1 | ||||
| -rw-r--r-- | test/prism/test_helper.rb | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/test/prism/magic_comment_test.rb b/test/prism/magic_comment_test.rb index ab4b5f56e5..ccfe5a5d0a 100644 --- a/test/prism/magic_comment_test.rb +++ b/test/prism/magic_comment_test.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require_relative "test_helper" +require "ripper" module Prism class MagicCommentTest < TestCase diff --git a/test/prism/ruby/ripper_test.rb b/test/prism/ruby/ripper_test.rb index bd63302efc..defa95b6a8 100644 --- a/test/prism/ruby/ripper_test.rb +++ b/test/prism/ruby/ripper_test.rb @@ -3,6 +3,7 @@ return if RUBY_VERSION < "3.3" || RUBY_ENGINE != "ruby" require_relative "../test_helper" +require "ripper" module Prism class RipperTest < TestCase diff --git a/test/prism/test_helper.rb b/test/prism/test_helper.rb index 43771110b4..406582c0a5 100644 --- a/test/prism/test_helper.rb +++ b/test/prism/test_helper.rb @@ -2,7 +2,6 @@ require "prism" require "pp" -require "ripper" require "stringio" require "test/unit" require "tempfile" |
