Improved input tests [skip ci]

This commit is contained in:
Andrew Kane
2024-04-13 10:56:34 -07:00
parent aed463dbad
commit 9957ba6817
4 changed files with 14 additions and 0 deletions

View File

@@ -109,6 +109,11 @@ ERROR: halfvec must have at least 1 dimension
LINE 1: SELECT '[]'::halfvec;
^
-- TODO fix error message
SELECT '[ ]'::halfvec;
ERROR: invalid input syntax for type halfvec: "[ ]"
LINE 1: SELECT '[ ]'::halfvec;
^
-- TODO fix error message
SELECT '[,]'::vector;
ERROR: vector must have at least 1 dimension
LINE 1: SELECT '[,]'::vector;