Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
78eca97a
Commit
78eca97a
authored
Jun 27, 2002
by
Pontus Freyhult
Browse files
Extra test for typo
Rev: ChangeLog:1.521 Rev: src/testsuite/string-test.c:1.4
parent
32be0592
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
78eca97a
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
...
...
src/testsuite/string-test.c
View file @
78eca97a
...
...
@@ -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
();
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment