OSDN Git Service

Woops: also update the alternative "expected" files for contrib/cube's
authorNeil Conway <neilc@samurai.com>
Wed, 1 Mar 2006 23:00:56 +0000 (23:00 +0000)
committerNeil Conway <neilc@samurai.com>
Wed, 1 Mar 2006 23:00:56 +0000 (23:00 +0000)
regression tests to account for the new error message wording. It seems
today is not my day...

contrib/cube/expected/cube_1.out
contrib/cube/expected/cube_2.out

index 73a7c2f..0f92f58 100644 (file)
@@ -307,19 +307,19 @@ ERROR:  bad cube representation
 DETAIL:  syntax error at or near ","
 SELECT '[(1,2,3),(2,3)]'::cube AS cube; -- 1
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2,3) and (2,3)
+DETAIL:  Different point dimensions in (1,2,3) and (2,3).
 SELECT '[(1,2),(1,2,3)]'::cube AS cube; -- 1
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2) and (1,2,3)
+DETAIL:  Different point dimensions in (1,2) and (1,2,3).
 SELECT '(1),(2),'::cube AS cube; -- 2
 ERROR:  bad cube representation
 DETAIL:  syntax error at or near ","
 SELECT '(1,2,3),(2,3)'::cube AS cube; -- 3
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2,3) and (2,3)
+DETAIL:  Different point dimensions in (1,2,3) and (2,3).
 SELECT '(1,2),(1,2,3)'::cube AS cube; -- 3
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2) and (1,2,3)
+DETAIL:  Different point dimensions in (1,2) and (1,2,3).
 SELECT '(1,2,3)ab'::cube AS cube; -- 4
 ERROR:  bad cube representation
 DETAIL:  syntax error at or near "a"
@@ -400,10 +400,10 @@ SELECT '(0)'::text::cube;
 --
 select '(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)'::cube;
 ERROR:  bad cube representation
-DETAIL:  more than 100 dimensions
+DETAIL:  A cube cannot have more than 100 dimensions.
 --
 -- testing the  operators
 --
index cea2f4e..42723e4 100644 (file)
@@ -307,19 +307,19 @@ ERROR:  bad cube representation
 DETAIL:  syntax error at or near ","
 SELECT '[(1,2,3),(2,3)]'::cube AS cube; -- 1
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2,3) and (2,3)
+DETAIL:  Different point dimensions in (1,2,3) and (2,3).
 SELECT '[(1,2),(1,2,3)]'::cube AS cube; -- 1
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2) and (1,2,3)
+DETAIL:  Different point dimensions in (1,2) and (1,2,3).
 SELECT '(1),(2),'::cube AS cube; -- 2
 ERROR:  bad cube representation
 DETAIL:  syntax error at or near ","
 SELECT '(1,2,3),(2,3)'::cube AS cube; -- 3
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2,3) and (2,3)
+DETAIL:  Different point dimensions in (1,2,3) and (2,3).
 SELECT '(1,2),(1,2,3)'::cube AS cube; -- 3
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2) and (1,2,3)
+DETAIL:  Different point dimensions in (1,2) and (1,2,3).
 SELECT '(1,2,3)ab'::cube AS cube; -- 4
 ERROR:  bad cube representation
 DETAIL:  syntax error at or near "a"
@@ -400,10 +400,10 @@ SELECT '(0)'::text::cube;
 --
 select '(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0)'::cube;
 ERROR:  bad cube representation
-DETAIL:  more than 100 dimensions
+DETAIL:  A cube cannot have more than 100 dimensions.
 --
 -- testing the  operators
 --