pgvector.git / summary / log / commit / refs
commit f627e69c5f6e085acaa54be23260efa11f155afc
Author: Andrew Kane <andrew@ankane.org>
Date: Sat Apr 13 18:21:25 2024 +0000
Fixed test [skip ci]
test/expected/halfvec_input.out | 6 +++---
test/sql/halfvec_input.sql | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/expected/halfvec_input.out b/test/expected/halfvec_input.out
index cb3a852c..039d657b 100644
--- a/test/expected/halfvec_input.out
+++ b/test/expected/halfvec_input.out
@@ -114,9 +114,9 @@ ERROR: halfvec must have at least 1 dimension
LINE 1: SELECT '[ ]'::halfvec;
^
-- TODO fix error message
-SELECT '[,]'::vector;
-ERROR: vector must have at least 1 dimension
-LINE 1: SELECT '[,]'::vector;
+SELECT '[,]'::halfvec;
+ERROR: halfvec must have at least 1 dimension
+LINE 1: SELECT '[,]'::halfvec;
^
SELECT '[1,]'::halfvec;
ERROR: invalid input syntax for type halfvec: "[1,]"
diff --git a/test/sql/halfvec_input.sql b/test/sql/halfvec_input.sql
index b3ac8503..2018b1d0 100644
--- a/test/sql/halfvec_input.sql
+++ b/test/sql/halfvec_input.sql
@@ -22,7 +22,7 @@ SELECT '[,'::halfvec;
SELECT '[]'::halfvec;
SELECT '[ ]'::halfvec;
-- TODO fix error message
-SELECT '[,]'::vector;
+SELECT '[,]'::halfvec;
SELECT '[1,]'::halfvec;
SELECT '[1a]'::halfvec;
SELECT '[1,,3]'::halfvec;
[parent: 23944302fe1e]