diff options
author | Toshiaki Asai <toshi.alternative@gmail.com> | 2016-05-02 02:32:12 +0900 |
---|---|---|
committer | Toshiaki Asai <toshi.alternative@gmail.com> | 2016-05-02 02:32:12 +0900 |
commit | 4fc0751d03fdda7df4e48e74989ad6b21520a970 (patch) | |
tree | ff8216cdd6146d62d4256876e947ed07605ebff7 /test/core | |
parent | b2ee12be17777446f3beec8f1dc07b40e14b94c4 (diff) | |
download | mikutter-4fc0751d03fdda7df4e48e74989ad6b21520a970.tar.gz |
プラグインの依存関係が満たされていない時に正しいエラーメッセージを出力できていない
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/test_miquire_plugin.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/core/test_miquire_plugin.rb b/test/core/test_miquire_plugin.rb index f062a89a..95fd2281 100644 --- a/test/core/test_miquire_plugin.rb +++ b/test/core/test_miquire_plugin.rb @@ -80,9 +80,7 @@ class TC_MiquirePlugin < Test::Unit::TestCase assert(Miquire::Plugin.load(Miquire::Plugin.get_spec_by_slug(:standalone)), "プラグインがロードできる") assert(Plugin.instance_exist?(:standalone), "プラグインがロードできる") - assert_raise(ArgumentError, "存在しないプラグインはロードできない") { - Miquire::Plugin.load(Miquire::Plugin.get_spec_by_slug(:not_exist)) - } + refute(Miquire::Plugin.load(Miquire::Plugin.get_spec_by_slug(:not_exist)), "存在しないプラグインはロードできない") end must "load child plugin with parent" do |