summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-19 04:27:20 +0000
committerDavid Robillard <d@drobilla.net>2011-09-19 04:27:20 +0000
commit37f37f06662d8098f82096ce46da3becab1992dc (patch)
treed274c1fc906dadcc09a421e33a65b39261399c6c /test
parent2b6c9941272b53c978d418c63669e52e39d9fe4a (diff)
downloadzix-37f37f06662d8098f82096ce46da3becab1992dc.tar.gz
zix-37f37f06662d8098f82096ce46da3becab1992dc.tar.bz2
zix-37f37f06662d8098f82096ce46da3becab1992dc.zip
Add test case to hit no match in the middle of a label
git-svn-id: http://svn.drobilla.net/zix/trunk@22 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
Diffstat (limited to 'test')
-rw-r--r--test/patree_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/patree_test.c b/test/patree_test.c
index b1f94fe..73a51ed 100644
--- a/test/patree_test.c
+++ b/test/patree_test.c
@@ -83,7 +83,8 @@ main(int argc, char** argv)
const char* not_indexed[] = {
"ftp://example.org/not-there-at-all",
"http://example.org/foobar",
- "http://"
+ "http://",
+ "http://otherdomain.com"
};
const size_t n_not_indexed = sizeof(not_indexed) / sizeof(char*);
for (size_t i = 0; i < n_not_indexed; ++i) {