mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-05 00:38:39 +00:00
Added type to assertion message [skip ci]
This commit is contained in:
1 parent
8df8dd01b9
commit
31dfd3d1a6
1 file changed
+2
-2
@@ -43,11 +43,11 @@ for my $function (@functions)
|
||||
|
||||
# Test halfvec
|
||||
my $actual = $node->safe_psql("postgres", "SELECT $function(v::halfvec, '$query'::vector::halfvec) FROM tst");
|
||||
is($expected, $actual, $function);
|
||||
is($expected, $actual, "halfvec $function");
|
||||
|
||||
# Test sparsevec
|
||||
$actual = $node->safe_psql("postgres", "SELECT $function(v::sparsevec, '$query'::vector::sparsevec) FROM tst");
|
||||
is($expected, $actual, $function);
|
||||
is($expected, $actual, "sparsevec $function");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user