-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test expectations with shorter check messages
- Loading branch information
1 parent
4b2559c
commit 6adcb24
Showing
7 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
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,5 +1,5 @@ | ||
# cabal check | ||
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: | ||
Warning: [le-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/ | ||
Please use less than (<) for upper bounds. |
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: 4 additions & 4 deletions
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,8 +1,8 @@ | ||
# cabal check | ||
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: | ||
Warning: [le-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: | ||
Please use less than (<) for upper bounds. | ||
Warning: [gt-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/ | ||
Please use greater than or equals (>=) for lower bounds. |
4 changes: 2 additions & 2 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,8 +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: | ||
Warning: [gt-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/ | ||
Please use greater than or equals (>=) for lower bounds. | ||
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