pgvector.git / summary / log / commit / refs

commit    31dfd3d1a65af78c04ac83f5a91b81f91ebee7f2
Author:   Andrew Kane <andrew@ankane.org>
Date:     Tue Apr 16 20:11:37 2024 +0000

    Added type to assertion message [skip ci]


test/t/034_distance_functions.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/t/034_distance_functions.pl b/test/t/034_distance_functions.pl index 0b3eeb02..0166bced 100644 --- a/test/t/034_distance_functions.pl +++ b/test/t/034_distance_functions.pl @@ -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"); } } [parent: 8df8dd01b96c]