Skip to content

Conversation

@haarg
Copy link
Contributor

@haarg haarg commented Oct 23, 2025

Tests in t/ are generally not allowed to use Test::More or related
modules. Instead, they are meant to use t/test.pl. There is a porting
test to make sure they are not used.

Test2 should be blocked in the same places that Test::More is.

  • This set of changes does not require a perldelta entry.

haarg added 2 commits October 23, 2025 22:57
Test2 is a real module (even though it has no functionality) so it is
confusing to have a test script use the name for an internal test
module. Rename the module to avoid the confusion.
Tests in t/ are generally not allowed to use Test::More or related
modules. Instead, they are meant to use t/test.pl. There is a porting
test to make sure they are not used.

Test2 should be blocked in the same places that Test::More is.
@haarg haarg force-pushed the haarg/no-test2-for-t branch from 22039e4 to 4f1f1e2 Compare October 23, 2025 20:57
@haarg haarg merged commit fcfa75d into blead Oct 24, 2025
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants