Fix prefix processor to handle variadic EXISTS (Redis >= 3.0.3).

This commit is contained in:
Daniele Alessandri
2015-07-24 18:15:21 +02:00
parent 6590c44a27
commit df2e9f4e71
2 changed files with 5 additions and 1 deletions
@@ -864,6 +864,10 @@ class KeyPrefixProcessorTest extends PredisTestCase
array('127.0.0.1', '6379', 'key', '0', '10', 'COPY', 'REPLACE'),
array('127.0.0.1', '6379', 'prefix:key', '0', '10', 'COPY', 'REPLACE'),
),
array('EXISTS',
array('key1', 'key2', 'key3'),
array('prefix:key1', 'prefix:key2', 'prefix:key3'),
),
);
}
}