Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: convert json scenarios to toml format #211

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 0 additions & 98 deletions scenarios/does-not-exist.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name = "requires-exact-version-does-not-exist"
description = "The user requires an exact version of package `a` but only other versions exist"

[root]
requires = ["a==2.0.0"]

[expected]
satisfiable = false

[packages.a.versions."1.0.0"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name = "requires-greater-version-does-not-exist"
description = "The user requires a version of `a` greater than `1.0.0` but only smaller or equal versions exist"

[root]
requires = ["a>1.0.0"]

[expected]
satisfiable = false

[packages.a.versions."0.1.0"]

[packages.a.versions."1.0.0"]
14 changes: 14 additions & 0 deletions scenarios/does_not_exist/requires-less-version-does-not-exist.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name = "requires-less-version-does-not-exist"
description = "The user requires a version of `a` less than `1.0.0` but only larger versions exist"

[root]
requires = ["a<2.0.0"]

[expected]
satisfiable = false

[packages.a.versions."2.0.0"]

[packages.a.versions."3.0.0"]

[packages.a.versions."4.0.0"]
10 changes: 10 additions & 0 deletions scenarios/does_not_exist/requires-package-does-not-exist.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name = "requires-package-does-not-exist"
description = "The user requires any version of package `a` which does not exist."

[root]
requires = ["a"]

[packages]

[expected]
satisfiable = false
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name = "transitive-requires-package-does-not-exist"
description = "The user requires package `a` but `a` requires package `b` which does not exist"

[root]
requires = ["a"]

[expected]
satisfiable = false

[packages.a.versions."1.0.0"]
requires = ["b"]
215 changes: 0 additions & 215 deletions scenarios/excluded.json

This file was deleted.

Loading