Add few more tests to test-is-public-builtin.c

This commit is contained in:
Tim Rühsen 2016-01-01 22:34:55 +01:00
parent 1604cb3dca
commit 5c159a3a09
1 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,10 @@ static void test_psl(void)
{ ".forgot.his.name", 1 },
{ "whoever.his.name", 0 },
{ "whoever.forgot.his.name", 0 },
{ "whatever.platform.sh", 1 },
{ ".platform.sh", 1 },
{ "whatever.yokohama.jp", 1 },
{ ".yokohama.jp", 1 },
{ ".", 1 }, /* special case */
{ "", 1 }, /* special case */
{ NULL, 1 }, /* special case */