From 870507edadffcc4f2eebc473c17105dbf6a8990e Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Sat, 4 Oct 2025 17:14:52 +0000 Subject: [PATCH] Bug 40292: Use Test::NoWarnings Content-Type: text/plain; charset=utf-8 Amended-by: Jonathan Druart Added + 1 to the plan Signed-off-by: Paul Derscheid Signed-off-by: Marcel de Rooy --- xt/check_db_revs_sql_syntax.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xt/check_db_revs_sql_syntax.t b/xt/check_db_revs_sql_syntax.t index 4e02b902a2..b29b25db30 100755 --- a/xt/check_db_revs_sql_syntax.t +++ b/xt/check_db_revs_sql_syntax.t @@ -22,6 +22,7 @@ use Modern::Perl; use Test::More; use File::Find; use File::Slurp; +use Test::NoWarnings; # Test for Bug 40292: Prevent SQL syntax error when upgrading to 25.05 on MariaDB 10.3 # This test ensures that database revision files don't use SQL syntax that is incompatible @@ -48,7 +49,7 @@ if ( !@db_rev_files ) { plan skip_all => "No database revision files found in $db_revs_dir"; } -plan tests => scalar @db_rev_files; +plan tests => scalar @db_rev_files + 1; foreach my $file (@db_rev_files) { my $content = read_file($file); -- 2.39.5