-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: convert json scenarios to toml format (#211)
Closes #177 , #18 * toml files where automatically generated the from the json files using a basic script * Used the filename as the folder name and the scenario name as the filename * Prettier on the generated ones for consistency
- Loading branch information
Showing
139 changed files
with
1,862 additions
and
3,327 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
scenarios/does_not_exist/requires-exact-version-does-not-exist.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
12 changes: 12 additions & 0 deletions
12
scenarios/does_not_exist/requires-greater-version-does-not-exist.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
scenarios/does_not_exist/requires-less-version-does-not-exist.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
10
scenarios/does_not_exist/requires-package-does-not-exist.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
11 changes: 11 additions & 0 deletions
11
scenarios/does_not_exist/transitive-requires-package-does-not-exist.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.