From bd1b1eeb0e528da983e76216d459a1d61aa026cb Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 26 Aug 2022 10:49:11 +0900 Subject: ruby-prof is now optional --- spec/syntax_suggest/unit/api_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/syntax_suggest/unit/api_spec.rb b/spec/syntax_suggest/unit/api_spec.rb index 284a4cdeec..21df86bb3e 100644 --- a/spec/syntax_suggest/unit/api_spec.rb +++ b/spec/syntax_suggest/unit/api_spec.rb @@ -1,7 +1,10 @@ # frozen_string_literal: true require_relative "../spec_helper" -require "ruby-prof" +begin + require "ruby-prof" +rescue LoadError +end module SyntaxSuggest RSpec.describe "Top level SyntaxSuggest api" do -- cgit v1.2.3