diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-06 16:15:41 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-06 16:15:41 +0900 |
commit | 6ca1f3eec4222924c7e23642a68b512105b7ef80 (patch) | |
tree | 98e7db009c7c291bc855371a609833a34874f006 /spec/syntax_suggest/integration/ruby_command_line_spec.rb | |
parent | 7ab640d9dd27eefdec138a0cf611072a76cc6cba (diff) |
Load only SyntaxSuggest::VERSION for version check
Diffstat (limited to 'spec/syntax_suggest/integration/ruby_command_line_spec.rb')
-rw-r--r-- | spec/syntax_suggest/integration/ruby_command_line_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/syntax_suggest/integration/ruby_command_line_spec.rb b/spec/syntax_suggest/integration/ruby_command_line_spec.rb index e7523ee666..b41a4c86e3 100644 --- a/spec/syntax_suggest/integration/ruby_command_line_spec.rb +++ b/spec/syntax_suggest/integration/ruby_command_line_spec.rb @@ -58,7 +58,7 @@ module SyntaxSuggest EOM script.write(contents) - out = `#{ruby} -I#{lib_dir} -rsyntax_suggest #{script} 2>&1` + out = `#{ruby} -I#{lib_dir} -rsyntax_suggest/version #{script} 2>&1` expect(out).to include("suggest_version is #{SyntaxSuggest::VERSION}").once end |