[ruby/syntax_suggest] Resolve to lint failure of standardrb

https://github.com/ruby/syntax_suggest/commit/ce7b87184e
This commit is contained in:
Hiroshi SHIBATA 2025-01-10 14:32:02 +09:00 committed by git
parent a450e9304d
commit e8015ce1a3

View File

@ -4,6 +4,10 @@ require_relative "../spec_helper"
module SyntaxSuggest
RSpec.describe "Integration tests that don't spawn a process (like using the cli)" do
before(:each) do
skip "Benchmark is not available" unless defined?(::Benchmark)
end
it "does not timeout on massive files" do
next unless ENV["SYNTAX_SUGGEST_TIMEOUT"]
@ -235,5 +239,5 @@ module SyntaxSuggest
end_is_missing_here
EOM
end
end if defined?(::Benchmark)
end
end