From 8caa90f4a2407960f69e51f5a9c1c61b1d7b6d85 Mon Sep 17 00:00:00 2001 From: Xavier Shay Date: Thu, 6 Apr 2017 15:36:33 -0400 Subject: [PATCH 1/2] [issue-26] Add KEYS in KEYS responses. --- spec/expand/simple/lookup.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/expand/simple/lookup.spec b/spec/expand/simple/lookup.spec index bee2a29..148bc8c 100644 --- a/spec/expand/simple/lookup.spec +++ b/spec/expand/simple/lookup.spec @@ -6,10 +6,12 @@ both %def:KEYS CLUSTER TYPE +KEYS %{def}:KEYS CLUSTER TYPE +KEYS %{a}bc one @@ -29,3 +31,4 @@ both %de{f}:KEYS CLUSTER TYPE +KEYS From 1557cc346db9e0a7a84847d16cf2442980c391c5 Mon Sep 17 00:00:00 2001 From: Xavier Shay Date: Thu, 6 Apr 2017 15:47:44 -0400 Subject: [PATCH 2/2] Ensure that a cluster that doesn't exist doesn't return any keys. The alternate behaviour is also justifiable, but I think (with low confidence) that while both behaviours are consistent, this one is the least surprising. --- spec/expand/simple/lookup.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/expand/simple/lookup.spec b/spec/expand/simple/lookup.spec index 148bc8c..a99b87f 100644 --- a/spec/expand/simple/lookup.spec +++ b/spec/expand/simple/lookup.spec @@ -32,3 +32,5 @@ both CLUSTER TYPE KEYS + +%nocluster:KEYS