diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-10 01:44:16 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-10 01:44:16 +0200 |
commit | 4ffc0afac656bef8a897023711cad7f3ca92a5fc (patch) | |
tree | 6637d5a2f48078d9db6459e73306402c4ee4dddb /test/unit | |
parent | 02e1bf3c236778197627fe9f9a7b3cf126825a8b (diff) | |
parent | 2de5dab7d59021622dabf4728e0b8123dc29da8a (diff) | |
download | coderay-4ffc0afac656bef8a897023711cad7f3ca92a5fc.tar.gz |
Merge branch 'master' into bash-scanner
Diffstat (limited to 'test/unit')
-rwxr-xr-x | test/unit/plugin.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/plugin.rb b/test/unit/plugin.rb index a1d06e1..41eec51 100755 --- a/test/unit/plugin.rb +++ b/test/unit/plugin.rb @@ -1,6 +1,5 @@ require 'test/unit' require 'pathname' -require File.expand_path('../../lib/assert_warning', __FILE__) $:.unshift File.expand_path('../../../lib', __FILE__) require 'coderay' @@ -39,9 +38,7 @@ class PluginScannerTest < Test::Unit::TestCase def test_default assert_nothing_raised do - assert_warning 'PluginScannerTest::PluginsWithDefault could not load plugin :gargamel; falling back to :default_plugin' do - assert_operator PluginsWithDefault[:gargamel], :<, PluginsWithDefault::Plugin - end + assert_operator PluginsWithDefault[:gargamel], :<, PluginsWithDefault::Plugin end assert_equal PluginsWithDefault::Default, PluginsWithDefault.default end |