Skip to content

Commit fc7dc91

Browse files
committed
(bipartite/pgtap) using order by to get same color
1 parent b047408 commit fc7dc91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pgtap/coloring/bipartite/edge_cases.pg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ SELECT set_eq('bipartite3', $$VALUES (3, 0), (7, 1)$$, '6: Graph is bi-partite')
100100
PREPARE q4 AS
101101
SELECT id, source, target, cost, reverse_cost
102102
FROM edges
103-
WHERE id <= 2;
103+
WHERE id <= 2 ORDER BY id;
104104

105105
RETURN QUERY
106106
SELECT set_eq('q4', $$VALUES (1, 5, 6, 1, 1), (2, 6, 10, -1, 1)$$, '7: Graph with three vertices 1, 2 and 3');
@@ -120,7 +120,7 @@ SELECT set_eq('bipartite4', $$VALUES (5, 0), (6, 1), (10, 0)$$, '8: Bi-partite g
120120
PREPARE q5 AS
121121
SELECT id, source, target, cost, reverse_cost
122122
FROM edges
123-
WHERE id <= 3;
123+
WHERE id <= 3 ORDER BY id;
124124

125125
RETURN QUERY
126126
SELECT set_eq('q5',

0 commit comments

Comments
 (0)