Relax the acceptance test expectation to match only the exception message

Fixes: #6310

Fixes #6325
This commit is contained in:
Pier-Hugues Pellerin 2016-11-29 14:19:26 -05:00
parent 5a7233c734
commit d669540123
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ class LogStash::PluginManager::Remove < LogStash::PluginManager::Command
# make sure this is an installed plugin and present in Gemfile.
# it is not possible to uninstall a dependency not listed in the Gemfile, for example a dependent codec
signal_error("This plugin has not been previously installed, aborting") unless LogStash::PluginManager.installed_plugin?(plugin, gemfile)
signal_error("This plugin has not been previously installed") unless LogStash::PluginManager.installed_plugin?(plugin, gemfile)
exit(1) unless ::Bundler::LogstashUninstall.uninstall!(plugin)