diff options
author | ulim <a.sporto+bee@gmail.com> | 2007-12-19 01:24:32 +0100 |
---|---|---|
committer | ulim <a.sporto+bee@gmail.com> | 2007-12-19 01:24:32 +0100 |
commit | 0fbd3a6d26d8fe747bd5e061748e75f397801064 (patch) | |
tree | 7a731363cfd014eb59ce65734c52cbc3d46b1b73 /tests/check_nick.c | |
parent | 793cc254ad2479d95d00266d6cb7ab2bcd158834 (diff) | |
parent | 2379566b07de55bd0f59503c39ba253ce2556877 (diff) |
Now with sending via a proxy. The proxy is automatically discovered from your
jabber server.
Also merged in revs 279..288 from upstream (e.g. PING)
Diffstat (limited to 'tests/check_nick.c')
-rw-r--r-- | tests/check_nick.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/check_nick.c b/tests/check_nick.c index 714c4fdc..6c4267cd 100644 --- a/tests/check_nick.c +++ b/tests/check_nick.c @@ -14,11 +14,17 @@ START_TEST(test_nick_strip) "thisisaveryveryveryverylongnick", "thisisave:ryveryveryverylongnick", "t::::est", + "test123", + "123test", + "123", NULL }; const char *expected[] = { "test", "test", "test", "thisisaveryveryveryveryl", "thisisaveryveryveryveryl", "test", + "test123", + "_123test", + "_123", NULL }; for (i = 0; get[i]; i++) { @@ -34,8 +40,8 @@ END_TEST START_TEST(test_nick_ok_ok) { - const char *nicks[] = { "foo", "bar", "bla[", "blie]", - "BreEZaH", "\\od^~", NULL }; + const char *nicks[] = { "foo", "bar123", "bla[", "blie]", "BreEZaH", + "\\od^~", "_123", "_123test", NULL }; int i; for (i = 0; nicks[i]; i++) { @@ -48,7 +54,7 @@ END_TEST START_TEST(test_nick_ok_notok) { const char *nicks[] = { "thisisaveryveryveryveryveryveryverylongnick", - "\nillegalchar", "", "nick%", NULL }; + "\nillegalchar", "", "nick%", "123test", NULL }; int i; for (i = 0; nicks[i]; i++) { |