summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-23 13:10:26 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-23 14:07:02 +0900
commit4aeea3cc09b302862fd0d40ccfaf86a688681d82 (patch)
treeef86845fbfecdb256d7111aad0604966487bd89b
parentbf3b376522705eaa01204618a15fce4c11dde42b (diff)
Removed the needless test guard for syntax_suggest.
It's resolved by https://github.com/ruby/ruby/commit/5bb43aeb890657ea586e3fabbf763e5b5670ffd7
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7006
-rw-r--r--spec/syntax_suggest/integration/ruby_command_line_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/syntax_suggest/integration/ruby_command_line_spec.rb b/spec/syntax_suggest/integration/ruby_command_line_spec.rb
index 5b707e84c1..61102dad2a 100644
--- a/spec/syntax_suggest/integration/ruby_command_line_spec.rb
+++ b/spec/syntax_suggest/integration/ruby_command_line_spec.rb
@@ -47,8 +47,6 @@ module SyntaxSuggest
end
it "detects require error and adds a message with auto mode" do
- skip if ruby_core?
-
Dir.mktmpdir do |dir|
tmpdir = Pathname(dir)
script = tmpdir.join("script.rb")
@@ -78,7 +76,6 @@ module SyntaxSuggest
end
it "gem can be tested when executing on Ruby with default gem included" do
- skip if ruby_core?
skip if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2")
out = `#{ruby} -I#{lib_dir} -rsyntax_suggest -e "puts SyntaxError.instance_method(:detailed_message).source_location" 2>&1`
@@ -88,7 +85,6 @@ module SyntaxSuggest
end
it "annotates a syntax error in Ruby 3.2+ when require is not used" do
- skip if ruby_core?
skip if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2")
Dir.mktmpdir do |dir|