YUKI Hiroshi
null+****@clear*****
Thu Dec 26 11:59:03 JST 2013
YUKI Hiroshi 2013-12-26 11:59:03 +0900 (Thu, 26 Dec 2013) New Revision: 45835b6b13d4b4594e04f5c6ebaa9eef85e1de14 https://github.com/droonga/fluent-plugin-droonga/commit/45835b6b13d4b4594e04f5c6ebaa9eef85e1de14 Merged d5217b2: Merge branch 'master' of 192.168.1.21:~piro/groonga/fluent-plugin-droonga into HEAD Message: Assert raised exception correctly for an unknown table Modified files: test/unit/plugin/handler/test_add.rb Modified: test/unit/plugin/handler/test_add.rb (+3 -2) =================================================================== --- test/unit/plugin/handler/test_add.rb 2013-12-26 11:55:48 +0900 (54a9336) +++ test/unit/plugin/handler/test_add.rb 2013-12-26 11:59:03 +0900 (2f0f57a) @@ -122,8 +122,9 @@ class AddHandlerTest < Test::Unit::TestCase "table" => "Nonexistent", "values" => {}, } - process(request) - assert_equal([[false]], @messenger.values) + assert_raise(Droonga::AddHandler::UnknownTable) do + process(request) + end end end end -------------- next part -------------- HTML����������������������������... Download