Skip to content

Commit

Permalink
Test expectations with shorter check messages
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 25, 2024
1 parent 891cd52 commit 3fe5b61
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
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(*.0)-upper-bounds] On library, these packages have upper bounds with trailing zeros:
Warning: [tz-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:
Warning: [gt-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.
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: [lt-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/
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ These warnings may cause trouble when distributing the package:
Warning: [missing-upper-bounds] On executable 'prova', these packages miss upper bounds:
- acme-box
Please add them. There is more information at https://pvp.haskell.org/
Warning: [trailing.zero(*.0)-upper-bounds] On library, these packages have upper bounds with trailing zeros:
Warning: [tz-upper-bounds] On library, these packages have upper bounds with trailing zeros:
- text
Please avoid trailing zeros for upper bounds. There is more information at https://pvp.haskell.org/
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ These warnings may cause trouble when distributing the package:
Warning: [missing-upper-bounds] On library 'int-lib', these packages miss upper bounds:
- text
Please add them. There is more information at https://pvp.haskell.org/
Warning: [less.than.equals(<=)-upper-bounds] On library, these packages have less than or equals (<=) upper bounds:
Warning: [lt-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 'int-lib', these packages have greater than (>) lower bounds:
Warning: [gt-lower-bounds] On library 'int-lib', these packages have greater than (>) lower bounds:
- text
Please use greater than or equals (>=) for lower bounds. There is more information at https://pvp.haskell.org/
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: [lt-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:
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/
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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/
The following errors will cause portability problems on other environments:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Warning: [missing-upper-bounds] On library, these packages miss upper bounds:
- or-exclusive-minimums-missing-upper
- or-inclusive-maximums-missing-upper
Please add them. There is more information at https://pvp.haskell.org/
Warning: [less.than.equals(<=)-upper-bounds] On library, these packages have less than or equals (<=) upper bounds:
Warning: [lt-upper-bounds] On library, these packages have less than or equals (<=) upper bounds:
- inclusive-maximums
- and-inclusive-maximums
- or-inclusive-maximums-missing-upper
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:
Warning: [gt-lower-bounds] On library, these packages have greater than (>) lower bounds:
- exclusive-minimums-missing-upper
- and-exclusive-minimums
- or-exclusive-minimums-missing-upper
Expand Down

0 comments on commit 3fe5b61

Please sign in to comment.