HAYASHI Kentaro
null+****@clear*****
Mon Nov 19 13:42:34 JST 2012
HAYASHI Kentaro 2012-11-19 13:42:34 +0900 (Mon, 19 Nov 2012) New Revision: beb616175cd204402a1f78aad67112604824a016 https://github.com/groonga/grntest/commit/beb616175cd204402a1f78aad67112604824a016 Log: Add test for #@ignore-feature-on-error directive Modified files: test/test-executor.rb Modified: test/test-executor.rb (+6 -0) =================================================================== --- test/test-executor.rb 2012-11-19 13:21:34 +0900 (00256fb) +++ test/test-executor.rb 2012-11-19 13:42:34 +0900 (743f7d3) @@ -51,6 +51,12 @@ class TestExecutor < Test::Unit::TestCase mock(@executor).execute_suggest_create_dataset("shop") execute("\#@suggest-create-dataset shop") end + + def test_enable_ignore_feature_on_error + assert_not_predicate(@context, :ignore_feature?) + execute("\#@ignore-feature-on-error") + assert_predicate(@context, :ignore_feature?) + end end class TestCommandFormatConveter < self -------------- next part -------------- HTML����������������������������...Télécharger