exodist / Term-Table

Format a header and rows into a table
Other
6 stars 9 forks source link

require minimum version of Test2::Tools::Tiny #25

Closed djerius closed 1 month ago

djerius commented 1 month ago

This test fails when run with Test2::Tools::Tiny (Test::Simple) < 1.302097.

Perl 5.26 shipped with Test::Simple 1.302073, so this test will fail unless Test::Simple is upgraded.

Howver, Test::Simple >= 1.302200 depends on Text::Table.

Upgrading to the current Test::Simple (1.302204 at the time of this writing) will fail, as Text::Table must first be installed, wihch requires t/honor_env_in_non_tty.t to pass under the existing Test::Simple, which fails, and is the reason we're here in the first place.

t/honor_env_in_non_tty.t happily passes using Test::More from Test::Simple 1.302073, shipped with Perl 5.26.3, as well as that in Test::Simple 1.302096. Test2::Tools::Tiny may be used starting with Test::Simple 1.302097.

This test now prefers Test::More prior to Test::Simple 1.302097, and Test2::Tools::Tiny thereafter.

exodist commented 1 month ago

Released as v0.023 thank you for the patch!

djerius commented 1 month ago

Thanks!