tests/test-fileset.t
changeset 28447 4eb5496c2bd4
parent 27518 737ffdabbde9
child 31193 4140d49d2efb
--- a/tests/test-fileset.t	Fri Mar 11 04:14:54 2016 +0900
+++ b/tests/test-fileset.t	Fri Mar 11 04:14:54 2016 +0900
@@ -351,9 +351,10 @@
 Test detection of unintentional 'matchctx.existing()' invocation
 
   $ cat > $TESTTMP/existingcaller.py <<EOF
-  > from mercurial import fileset
+  > from mercurial import registrar
   > 
-  > @fileset.predicate('existingcaller()', callexisting=False)
+  > filesetpredicate = registrar.filesetpredicate()
+  > @filesetpredicate('existingcaller()', callexisting=False)
   > def existingcaller(mctx, x):
   >     # this 'mctx.existing()' invocation is unintentional
   >     return [f for f in mctx.existing()]