summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEarlopain <14981592+Earlopain@users.noreply.github.com>2026-01-08 11:12:15 +0100
committergit <svn-admin@ruby-lang.org>2026-01-08 18:35:25 +0000
commitfc66de3e6b5e28c017c3cffac77a66d680d679a4 (patch)
treea086487e7b71268075aa5213957c43acc46e9fb3 /test
parent3bfc86558b7a314417399470b5204a914f2ca3ff (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.rb1
-rw-r--r--test/prism/ruby/ripper_test.rb1
-rw-r--r--test/prism/test_helper.rb1
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"