Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
78eca97a
Commit
78eca97a
authored
Jun 27, 2002
by
Pontus Freyhult
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
ChangeLog
ChangeLog
+5
-0
src/testsuite/string-test.c
src/testsuite/string-test.c
+8
-0
No files found.
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
Markdown
is supported
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