Add basic unit tests for parsing of command line verbosity flags
The test failed prior to the bug fix: Unit Tests Distribution.Simple.Command option argument tests parses verbosity successfully: OK handles argument parse error gracefully: FAIL message threw an exception: =2 CallStack (from HasCallStack): error, called at src/Distribution/ReadE.hs:42:24 in Cabal-3.7.0.0-inplace:Distribution.ReadE 1 out of 2 tests failed (0.00s)
parent
0e3cefbd
Branches gb/no-reconfigure-test-flags
No related tags found
Showing
- Cabal-tests/Cabal-tests.cabal 1 addition, 0 deletionsCabal-tests/Cabal-tests.cabal
- Cabal-tests/tests/UnitTests.hs 3 additions, 0 deletionsCabal-tests/tests/UnitTests.hs
- Cabal-tests/tests/UnitTests/Distribution/Simple/Command.hs 44 additions, 0 deletionsCabal-tests/tests/UnitTests/Distribution/Simple/Command.hs
Please register or sign in to comment