File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
pgtap/withPoints/withPoints/edge_cases Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ BEGIN;
2626
2727SET extra_float_digits=-3;
2828
29- SELECT CASE WHEN min_version('3.8 .0') THEN plan(4) ELSE plan(1) END;
29+ SELECT CASE WHEN min_version('4.1 .0') THEN plan(4) ELSE plan(1) END;
3030
3131CREATE OR REPLACE FUNCTION issue_2966_tests()
3232RETURNS SETOF TEXT AS
3333$BODY$
3434BEGIN
3535
36- IF NOT min_version('3.8 .0') THEN
37- RETURN QUERY SELECT skip(1, 'pgr_withPoints: Issue 2966 test requires 3.8 .0+');
36+ IF NOT min_version('4.1 .0') THEN
37+ RETURN QUERY SELECT skip(1, 'pgr_withPoints: Issue 2966 test requires 4.1 .0+');
3838 RETURN;
3939 END IF;
4040
5656 'Issue 2966: fraction=0.99 should route correctly (baseline test)'
5757 );
5858
59- -- Test 2: fraction = 1 should ALSO work correctly
60- -- Regression test: previously returned 105 instead of 17
59+ -- Test 2: fraction = 1 should ALSO work correctly (regression for issue 2966, which previously returned 105 instead of 17)
6160 RETURN QUERY SELECT set_eq(
6261 $$SELECT agg_cost::TEXT FROM pgr_withPoints(
6362 'SELECT * FROM test_edges',
You can’t perform that action at this time.
0 commit comments