]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test_str_list: make sure ' ' and ', ' separaters work for str lists
authorSage Weil <sage.weil@dreamhost.com>
Sat, 12 Nov 2011 23:17:29 +0000 (15:17 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 12 Nov 2011 23:17:29 +0000 (15:17 -0800)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/test/test_str_list.cc

index 43d01aa0dc8aec102fc80e72b2c8c462ebc2f7ba..7b92e5181bf087c7b500bcb0b4a8fca7adcb04fb 100644 (file)
@@ -17,6 +17,8 @@ const char *tests[][10] = {
   { " foo bar ", "foo", "bar", 0 },
   { "a,b,c", "a", "b", "c", 0 },
   { " a\tb\tc\t", "a", "b", "c", 0 },
+  { "a, b, c", "a", "b", "c", 0 },
+  { "a b c", "a", "b", "c", 0 },
   { 0 },
 };