[Groonga-commit] groonga/groonga [master] fix expected error messages.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 1日 (木) 13:36:34 JST


Susumu Yata	2012-03-01 13:36:34 +0900 (Thu, 01 Mar 2012)

  New Revision: 97e0f43d502cdb4403f288fcfbe2644400c51867

  Log:
    fix expected error messages.

  Modified files:
    test/unit/http/test-http-schema.rb

  Modified: test/unit/http/test-http-schema.rb (+6 -6)
===================================================================
--- test/unit/http/test-http-schema.rb    2012-02-29 15:27:41 +0900 (e7c64ba)
+++ test/unit/http/test-http-schema.rb    2012-03-01 13:36:34 +0900 (51e74c3)
@@ -204,9 +204,9 @@ module HTTPSchemaTests
                                 :name => "mori.daijiro",
                                 :output_type => output_type))
     assert_error_response(Result::INVALID_ARGUMENT,
-                          "[table][create]: " +
+                          "[table][create] " +
                           "name can't start with '_' " +
-                          "and contains only 0-9, A-Z, a-z, #, - or _: " +
+                          "and contains only 0-9, A-Z, a-z, #, @, - or _: " +
                           "<mori.daijiro>",
                           response,
                           :content_type => content_type)
@@ -217,9 +217,9 @@ module HTTPSchemaTests
                                 :name => "_mori",
                                 :output_type => output_type))
     assert_error_response(Result::INVALID_ARGUMENT,
-                          "[table][create]: " +
+                          "[table][create] " +
                           "name can't start with '_' " +
-                          "and contains only 0-9, A-Z, a-z, #, - or _: " +
+                          "and contains only 0-9, A-Z, a-z, #, @, - or _: " +
                           "<_mori>",
                           response,
                           :content_type => content_type)
@@ -238,9 +238,9 @@ module HTTPSchemaTests
                                 :output_type => output_type
                                 ))
     assert_error_response(Result::INVALID_ARGUMENT,
-                          "[table][create]: " +
+                          "[table][create] " +
                           "name can't start with '_' " +
-                          "and contains only 0-9, A-Z, a-z, #, - or _: " +
+                          "and contains only 0-9, A-Z, a-z, #, @, - or _: " +
                           "<daijiro:mori>",
                           response,
                           :content_type => content_type)




Groonga-commit メーリングリストの案内
Back to archive index