aboutsummaryrefslogtreecommitdiffstats
path: root/spec/syntax_suggest/integration
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-08-26 11:10:15 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-08-26 12:15:47 +0900
commit8dfc077f7016715f33b4818ad3e6770d557356a1 (patch)
tree5a0af3c45172c84162167b7d6755d8731f486e5d /spec/syntax_suggest/integration
parentbd1b1eeb0e528da983e76216d459a1d61aa026cb (diff)
downloadruby-8dfc077f7016715f33b4818ad3e6770d557356a1.tar.gz
Added syntax_suggest cli and resolve failing exapmle with it
Diffstat (limited to 'spec/syntax_suggest/integration')
-rw-r--r--spec/syntax_suggest/integration/exe_cli_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/syntax_suggest/integration/exe_cli_spec.rb b/spec/syntax_suggest/integration/exe_cli_spec.rb
index 79e659a27a..f0b49b4386 100644
--- a/spec/syntax_suggest/integration/exe_cli_spec.rb
+++ b/spec/syntax_suggest/integration/exe_cli_spec.rb
@@ -5,7 +5,11 @@ require_relative "../spec_helper"
module SyntaxSuggest
RSpec.describe "exe" do
def exe_path
- root_dir.join("exe").join("syntax_suggest")
+ if ruby_core?
+ root_dir.join("../libexec").join("syntax_suggest")
+ else
+ root_dir.join("exe").join("syntax_suggest")
+ end
end
def exe(cmd)