Commit 3b65d057 authored by Niels Möller's avatar Niels Möller
Browse files

Better tests.

Rev: src/nettle/examples/sexp-conv-test:1.2
parent 30dca9e6
......@@ -23,6 +23,16 @@ test_conv () {
test_conv "3:foo" "foo" -a
test_conv "4:3des" '"3des"' -a
test_conv "(3:foo [bar]foo)" "(3:foo[3:bar]3:foo)" -c
test_conv '"foo"' "foo" -a
test_conv '4:foo
' '"foo\n"'
test_conv '2:"\' '"\"\\"'
test_conv "()" "()"
test_conv '(foo bar baz)' '(foo bar
baz)'
test_conv '; comment
()' "()"
test_conv "(foo[bar]foo)" "(foo [bar]foo)" -a
exit 0
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