tests/notcapable
changeset 14409 9ff996ba00b4
parent 14011 b69471bdb678
child 17192 1ac628cd7113
--- a/tests/notcapable	Sun May 22 16:10:03 2011 +0300
+++ b/tests/notcapable	Mon May 23 20:31:04 2011 +0200
@@ -10,7 +10,7 @@
 def extsetup():
     extensions.wrapfunction(repo.repository, 'capable', wrapper)
 def wrapper(orig, self, name, *args, **kwargs):
-    if name == '$CAP':
+    if name in '$CAP'.split(' '):
         return False
     return orig(self, name, *args, **kwargs)
 EOF