From a5aecf7767bdd2c2069e3b2354c1d5e29d4de284 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 26 Aug 2024 11:03:05 +0200 Subject: [PATCH] Bug 37728: Adjust test to catch more missing 'op' in POSTed forms The test is not catching missing op in forms that are not the first POST form of the template. Found when fixing the test for bug 37309. It was not catching the missing op in the second form. Signed-off-by: Phil Ringnalda --- xt/find-missing-op-in-forms.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xt/find-missing-op-in-forms.t b/xt/find-missing-op-in-forms.t index 3958a1fbd32..483601f8e38 100755 --- a/xt/find-missing-op-in-forms.t +++ b/xt/find-missing-op-in-forms.t @@ -50,7 +50,7 @@ sub catch_missing_op { my @lines = read_file($file); my @errors; return unless grep { $_ =~ m|