From 3220eae2a47588134767b9c374e2e9d024139e04 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 18 Mar 2018 15:50:54 +0000 Subject: TESTING: Use prefix instead of is In order to increase coverage of the 'prefix' match type in list context, this change alters one of the many treedelta related admin patches. --- testing/admin-patches/must-affect-FOO.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/admin-patches/must-affect-FOO.patch b/testing/admin-patches/must-affect-FOO.patch index 07c570e..81cce3c 100644 --- a/testing/admin-patches/must-affect-FOO.patch +++ b/testing/admin-patches/must-affect-FOO.patch @@ -6,7 +6,7 @@ index aafa17c..388766a 100644 # Okay, if we're altering the admin ref, in we go include global:adminchecks is_admin_ref -+deny "Needs a FOO" op_is_normal ![treediff/targets is FOO] ++deny "Needs a FOO" op_is_normal ![treediff/targets prefix FOO] + # Now we're into branch operations. Owners can do any normal operation # Normal ops are create/delete/fastforward on refs -- cgit v1.2.1