click-contrib / click-repl

Subcommand REPL for click apps
MIT License
215 stars 41 forks source link

Update tests to expect hyphens #53

Closed theazureshadow closed 3 years ago

theazureshadow commented 5 years ago

This fixes tests with click 7.0, which now converts underscores to hyphens in command names. If you have any suggestions for how to have different expectations in 6.0 vs 7.0, let me know.

You can see the commit that changed this behavior here: pallets/click@5d1df0e042b2f8b0dee8f6dd9ce74edce331a950

theazureshadow commented 5 years ago

I would like to merge this PR first, then rebase #54 on this to make sure the tests pass.

bnavigator commented 3 years ago

Tests pass on openSUSE with this PR