Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions t/01-compile-check-all.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ use OpenQA::Test::TimeLimit '400';
use Test::Strict;

push @Test::Strict::MODULES_ENABLING_STRICT, 'Test::Most';
push @Test::Strict::MODULES_ENABLING_STRICT, 'Test2::V0';
push @Test::Strict::MODULES_ENABLING_WARNINGS, 'Test::Most';
push @Test::Strict::MODULES_ENABLING_WARNINGS, 'Test2::V0';

$Test::Strict::TEST_SYNTAX = 1;
$Test::Strict::TEST_STRICT = 1;
Expand Down
2 changes: 1 addition & 1 deletion t/01-style.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ qq{git grep -I -l 'This program is free software.*if not, see <http://www.gnu.or
) != 0, 'No verbatim licenses in source files';
ok system(qq{git grep -I -l '[#/ ]*SPDX-License-Identifier ' ':!COPYING' ':!external/' ':!t/01-style.t'}) != 0,
'SPDX-License-Identifier correctly terminated';
is qx{git grep -I -L '^use Test::Most' t/**.t}, '', 'All tests use Test::Most';
is qx{git grep -I -L -E '^use (Test::Most|Test2::V0)' t/**.t}, '', 'All tests use Test::Most';
is qx{git grep --all-match -e '^use Mojo::Base' -e 'use base'}, '', 'No redundant Mojo::Base+base';
is qx{git grep -I --all-match -e '^use Mojo::Base' -e 'use \\(strict\\|warnings\\);' ':!docs'}, '',
'Only combined Mojo::Base+strict+warnings';
Expand Down
Loading
Loading