From 4130a0e4cc52988bd03fabeab36d4941c1f784c9 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 23 Apr 2014 23:39:41 +0200 Subject: [PATCH] strbuf_test: Added some more test-cases for sdb_strbuf_skip(). --- t/utils/strbuf_test.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/t/utils/strbuf_test.c b/t/utils/strbuf_test.c index 0acb1de..bb03296 100644 --- a/t/utils/strbuf_test.c +++ b/t/utils/strbuf_test.c @@ -405,6 +405,17 @@ static struct { { 1, 0, "1234567890", 10 }, { 1, 1, "134567890", 9 }, { 1, 2, "14567890", 8 }, + { 2, 0, "1234567890", 10 }, + { 2, 1, "124567890", 9 }, + { 2, 2, "12567890", 8 }, + { 2, 3, "1267890", 7 }, + { 2, 4, "127890", 6 }, + { 2, 5, "12890", 5 }, + { 2, 6, "1290", 4 }, + { 2, 7, "120", 3 }, + { 2, 8, "12", 2 }, + { 2, 9, "12", 2 }, + { 2, 10, "12", 2 }, { 8, 1, "123456780", 9 }, { 8, 2, "12345678", 8 }, { 8, 3, "12345678", 8 }, -- 2.30.2