-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test expectations with --accept in other tests
- Loading branch information
1 parent
1121f5e
commit 8ca45cf
Showing
7 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...testsuite/PackageTests/Check/ConfiguredPackage/Fields/ImpossibleVersionRangeLib/cabal.out
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 |
---|---|---|
@@ -1,4 +1,11 @@ | ||
# cabal check | ||
The package will not build sanely due to these errors: | ||
Error: [impossible-dep] The package has an impossible version range for a dependency on an internal library: pkg:internal >1.0 && <2.0. This version range does not include the current package, and must be removed as the current package's library will always be used. | ||
These warnings may cause trouble when distributing the package: | ||
Warning: [trailing-zero-upper-bounds] On library, these packages have upper bounds with trailing zeros: | ||
- pkg | ||
Please avoid trailing zeros for upper bounds. There is more information at https://pvp.haskell.org/ | ||
Warning: [greater-than-lower-bounds] On library, these packages have greater than (>) lower bounds: | ||
- pkg | ||
Please use greater than or equals (>=) for lower bounds. There is more information at https://pvp.haskell.org/ | ||
Error: Hackage would reject this package. |
5 changes: 4 additions & 1 deletion
5
cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsInternal/cabal.out
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# cabal check | ||
No errors or warnings could be found in the package. | ||
These warnings may cause trouble when distributing the package: | ||
Warning: [less-than-equals-upper-bounds] On library, these packages have less than or equals (<=) upper bounds: | ||
- base | ||
Please use less than (<) for upper bounds. There is more information at https://pvp.haskell.org/ |
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
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
8 changes: 7 additions & 1 deletion
8
cabal-testsuite/PackageTests/Check/NonConfCheck/PackageVersionsStraddle/cabal.out
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 |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# cabal check | ||
No errors or warnings could be found in the package. | ||
These warnings may cause trouble when distributing the package: | ||
Warning: [less-than-equals-upper-bounds] On library, these packages have less than or equals (<=) upper bounds: | ||
- base | ||
Please use less than (<) for upper bounds. There is more information at https://pvp.haskell.org/ | ||
Warning: [greater-than-lower-bounds] On library, these packages have greater than (>) lower bounds: | ||
- base | ||
Please use greater than or equals (>=) for lower bounds. There is more information at https://pvp.haskell.org/ |
4 changes: 4 additions & 0 deletions
4
cabal-testsuite/PackageTests/Check/NonConfCheck/SetupBounds/cabal.out
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# cabal check | ||
These warnings may cause trouble when distributing the package: | ||
Warning: [greater-than-lower-bounds] On custom-setup, these packages have greater than (>) lower bounds: | ||
- base | ||
Please use greater than or equals (>=) for lower bounds. There is more information at https://pvp.haskell.org/ | ||
The following errors will cause portability problems on other environments: | ||
Error: [missing-bounds-setup] The dependency 'setup-depends: 'base' does not specify an upper bound on the version number. Each major release of the 'base' package changes the API in various ways and most packages will need some changes to compile with it. If you are not sure what upper bound to use then use the next major version. | ||
Error: Hackage would reject this package. |
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