Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 41150b2

Browse files
committed
Update exists (pre-PR) tests to pass
One test relied upon constraints NOT being applied transitively. The other was named incorrectly, it was testing a non-root scenario but was named "transitive" which was misleading.
1 parent 16689ce commit 41150b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gps/solve_bimodal_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@ var bimodalFixtures = map[string]bimodalFixture{
188188
},
189189
r: mksolution(
190190
"a 1.0.0",
191-
"b 1.1.0",
191+
"b 1.0.0", // Now that constraints can be applied transitively, the constraint from root applies
192192
),
193193
},
194194
// Constraints apply only if the project that declares them has a
195195
// reachable import - non-root
196-
"constraints activated by import, transitive": {
196+
"constraints activated by import, non-root": {
197197
ds: []depspec{
198198
dsp(mkDepspec("root 0.0.0"),
199199
pkg("root", "root/foo", "b"),

0 commit comments

Comments
 (0)