Skip to content

Commit

Permalink
chore: convert json scenarios to toml format
Browse files Browse the repository at this point in the history
  • Loading branch information
samypr100 committed Oct 2, 2024
1 parent 2a670ba commit 589b255
Show file tree
Hide file tree
Showing 139 changed files with 1,862 additions and 3,327 deletions.
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

0 comments on commit 589b255

Please sign in to comment.