From 6cc8fb9cf96e3817061475e3a7ca6612af12a25b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 23 Dec 2022 13:10:26 +0900 Subject: [PATCH] Removed the needless test guard for syntax_suggest. It's resolved by https://github.com/ruby/ruby/commit/5bb43aeb890657ea586e3fabbf763e5b5670ffd7 --- spec/integration/ruby_command_line_spec.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/integration/ruby_command_line_spec.rb b/spec/integration/ruby_command_line_spec.rb index 5b707e8..61102da 100644 --- a/spec/integration/ruby_command_line_spec.rb +++ b/spec/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|