From aa70b472ff68752e4fcda18f6b03b0160f51be98 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 Signed-off-by: Pedro Amorim Signed-off-by: Katrin Fischer --- 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 3958a1fbd3..483601f8e3 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|