Commit 78eca97a authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Extra test for typo

Rev: ChangeLog:1.521
Rev: src/testsuite/string-test.c:1.4
parent 32be0592
2002-06-27 Pontus Skld <pont@soua.net>
* src/testsuite/string-test.c (test_main): Added extra bubble
babble check for a typo Richard Kettlewell discovered.
2002-06-26 Pontus Skld <pont@soua.net>
* src/format.c (lsh_string_bubblebabble): Fixed stupid typo making
......
......@@ -62,6 +62,14 @@ test_main(void)
p = lsh_get_cstring(s);
ASSERT(p && !strcmp(p, "xigak-nyryk-humil-bosek-sonax")) ;
/* This should at least strigger one typo I made in the bubble babble routine */
s = S("\xb8\x4e\xce\x86\x7b\x92\x8e\xf2\xda\x8e\xee\x15\xc2\x5d\xac\xd6\xe8\x6c\xb3\x43");
s = lsh_string_bubblebabble(s, 1);
p = lsh_get_cstring(s);
ASSERT(p && !strcmp(p, "xovag-vafim-kivun-dafez-dykim-veryc-habeh-turyt-kopyk-sasug-fixax")) ;
SUCCESS();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment