Test that the last line `--help` is the name of the config file
Ensure that the last line of the help text is the name of the config file. This invariant is used by clients such as the Haskell setup github action. See: https://github.com/haskell-actions/setup/pull/63
Showing
- cabal-testsuite/PackageTests/Help/HelpPrintsConfigFile/help-prints-config-file.out 1 addition, 0 deletions...sts/Help/HelpPrintsConfigFile/help-prints-config-file.out
- cabal-testsuite/PackageTests/Help/HelpPrintsConfigFile/help-prints-config-file.test.hs 25 additions, 0 deletions...Help/HelpPrintsConfigFile/help-prints-config-file.test.hs
Please register or sign in to comment