summaryrefslogtreecommitdiff
path: root/test/libapt
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2013-10-01 12:38:03 +0200
committerMichael Vogt <mvo@ubuntu.com>2013-10-01 12:38:03 +0200
commit2ddab3fb958518acbd26685eeeb7755106b721a3 (patch)
treeb5138b85e166b85036856e274bc4ef538ea70886 /test/libapt
parent41053d721ce7f81652d7e873067376b94f9a060d (diff)
change maxsplit default from "0" to maxint
Diffstat (limited to 'test/libapt')
-rw-r--r--test/libapt/strutil_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/libapt/strutil_test.cc b/test/libapt/strutil_test.cc
index b044b7f34..110a20d27 100644
--- a/test/libapt/strutil_test.cc
+++ b/test/libapt/strutil_test.cc
@@ -65,5 +65,9 @@ int main(int argc,char *argv[])
equals(result[0], "x");
equals(result[1], "y:z");
+ input = "abc";
+ result = StringSplit(input, "");
+ equals(result.size(), 0);
+
return 0;
}