[Groonga-commit] droonga/droonga-engine at 7d7e7df [master] test: follow "invalid value error has details" change

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Dec 13 14:24:04 JST 2014


Kouhei Sutou	2014-12-13 14:24:04 +0900 (Sat, 13 Dec 2014)

  New Revision: 7d7e7df5ad006898fa6dc3c63d04f94d6df9b125
  https://github.com/droonga/droonga-engine/commit/7d7e7df5ad006898fa6dc3c63d04f94d6df9b125

  Message:
    test: follow "invalid value error has details" change

  Modified files:
    test/command/suite/add/error/invalid-integer.expected
    test/command/suite/add/error/invalid-time.expected

  Modified: test/command/suite/add/error/invalid-integer.expected (+3 -3)
===================================================================
--- test/command/suite/add/error/invalid-integer.expected    2014-12-13 14:00:06 +0900 (ff9deef)
+++ test/command/suite/add/error/invalid-integer.expected    2014-12-13 14:24:04 +0900 (f23e7ae)
@@ -4,7 +4,7 @@
   "type": "add.result",
   "body": {
     "name": "InvalidValue",
-    "message": "The column \"age\" cannot store the value \"secret\".",
+    "message": "The column \"age\" cannot store the value \"secret\": invalid argument: <User.age>: failed to cast to <Int32>: <\"secret\">: #<Groonga::FixSizeColumn ...>",
     "detail": {
       "table": "User",
       "key": "key",
@@ -18,7 +18,7 @@
       "statusCode": 400,
       "body": {
         "name": "InvalidValue",
-        "message": "The column \"age\" cannot store the value \"secret\".",
+        "message": "The column \"age\" cannot store the value \"secret\": invalid argument: <User.age>: failed to cast to <Int32>: <\"secret\">: #<Groonga::FixSizeColumn ...>",
         "detail": {
           "table": "User",
           "key": "key",
@@ -32,7 +32,7 @@
       "statusCode": 400,
       "body": {
         "name": "InvalidValue",
-        "message": "The column \"age\" cannot store the value \"secret\".",
+        "message": "The column \"age\" cannot store the value \"secret\": invalid argument: <User.age>: failed to cast to <Int32>: <\"secret\">: #<Groonga::FixSizeColumn ...>",
         "detail": {
           "table": "User",
           "key": "key",

  Modified: test/command/suite/add/error/invalid-time.expected (+3 -3)
===================================================================
--- test/command/suite/add/error/invalid-time.expected    2014-12-13 14:00:06 +0900 (1de635a)
+++ test/command/suite/add/error/invalid-time.expected    2014-12-13 14:24:04 +0900 (203158e)
@@ -4,7 +4,7 @@
   "type": "add.result",
   "body": {
     "name": "InvalidValue",
-    "message": "The column \"birthday\" cannot store the value \"today\".",
+    "message": "The column \"birthday\" cannot store the value \"today\": no time information in \"today\"",
     "detail": {
       "table": "User",
       "key": "key",
@@ -18,7 +18,7 @@
       "statusCode": 400,
       "body": {
         "name": "InvalidValue",
-        "message": "The column \"birthday\" cannot store the value \"today\".",
+        "message": "The column \"birthday\" cannot store the value \"today\": no time information in \"today\"",
         "detail": {
           "table": "User",
           "key": "key",
@@ -32,7 +32,7 @@
       "statusCode": 400,
       "body": {
         "name": "InvalidValue",
-        "message": "The column \"birthday\" cannot store the value \"today\".",
+        "message": "The column \"birthday\" cannot store the value \"today\": no time information in \"today\"",
         "detail": {
           "table": "User",
           "key": "key",
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index