Skip to content
Snippets Groups Projects
Commit 032a557e authored by Niels Möller's avatar Niels Möller
Browse files

* testsuite/sexp-test.c (test_main): No need to call

sexp_iterator_next after sexp_iterator_exit_list.

Rev: src/nettle/testsuite/sexp-test.c:1.7
parent 6d28e270
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ test_main(void) ...@@ -14,7 +14,7 @@ test_main(void)
&& sexp_iterator_enter_list(&i) && sexp_iterator_enter_list(&i)
&& i.type == SEXP_END && i.type == SEXP_END
&& sexp_iterator_exit_list(&i) && sexp_iterator_exit_list(&i)
&& sexp_iterator_next(&i) && i.type == SEXP_END); && i.type == SEXP_END);
ASSERT(sexp_iterator_first(&i, LDATA("("))); ASSERT(sexp_iterator_first(&i, LDATA("(")));
ASSERT(i.type == SEXP_LIST ASSERT(i.type == SEXP_LIST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment