Skip to content

Commit

Permalink
Add transitive incompatible versions scenario (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed Apr 24, 2024
1 parent 0256c65 commit d1254c8
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion scenarios/incompatible-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,29 @@
"expected": {
"satisfiable": false
}
},
{
"name": "transitive-incompatible-versions",
"description": "The user requires `a`, which requires two incompatible, existing versions of package `b`",
"root": {
"requires": [
"a==1.0.0"
]
},
"packages": {
"a": {
"versions": {
"1.0.0": {
"requires": [
"b==2.0.0",
"b==1.0.0"
]
}
}
}
},
"expected": {
"satisfiable": false
}
}
]
]

0 comments on commit d1254c8

Please sign in to comment.