ruby-changes:73069
From: Hiroshi <ko1@a...>
Date: Fri, 26 Aug 2022 12:16:12 +0900 (JST)
Subject: [ruby-changes:73069] 5e4d1f9908 (master): Skip examples to need installed ruby exe
https://git.ruby-lang.org/ruby.git/commit/?id=5e4d1f9908 From 5e4d1f9908fc09d0d9a451fd7e385af5ef0d7007 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 26 Aug 2022 11:13:26 +0900 Subject: Skip examples to need installed ruby exe --- spec/syntax_suggest/integration/ruby_command_line_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/syntax_suggest/integration/ruby_command_line_spec.rb b/spec/syntax_suggest/integration/ruby_command_line_spec.rb index 7a1c5c654e..6ed1bf0bf7 100644 --- a/spec/syntax_suggest/integration/ruby_command_line_spec.rb +++ b/spec/syntax_suggest/integration/ruby_command_line_spec.rb @@ -46,6 +46,8 @@ module SyntaxSuggest https://github.com/ruby/ruby/blob/trunk/spec/syntax_suggest/integration/ruby_command_line_spec.rb#L46 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") @@ -77,6 +79,7 @@ module SyntaxSuggest https://github.com/ruby/ruby/blob/trunk/spec/syntax_suggest/integration/ruby_command_line_spec.rb#L79 it "annotates a syntax error in Ruby 3.2+ when require is not used" do pending("Support for SyntaxError#detailed_message monkeypatch needed https://gist.github.com/schneems/09f45cc23b9a8c46e9af6acbb6e6840d?permalink_comment_id=4172585#gistcomment-4172585") + skip if ruby_core? skip if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2") Dir.mktmpdir do |dir| -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/