fix tests, docs

db4
Doug Coleman 2008-08-29 16:48:29 -05:00
parent 945626247f
commit 89d5a8e80e
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,8 @@ HELP: send-email
{ $description "Sends an " { $link email } " object to an STMP server stored in the " { $link smtp-server } " variable. The required slots are " { $snippet "from" } " and " { $snippet "to" } "." }
{ $examples
{ $example "<email>"
{ $unchecked-example "USING: accessors smtp ;"
"<email>"
" \"groucho@marx.bros\" >>from"
" { \"chico@marx.bros\" \"harpo@marx.bros\" } >>to"
" { \"gummo@marx.bros\" } >>cc"

View File

@ -1,6 +1,6 @@
USING: smtp tools.test io.streams.string io.sockets threads
smtp.server kernel sequences namespaces logging accessors
assocs sorting ;
assocs sorting smtp.private ;
IN: smtp.tests
{ 0 0 } [ [ ] with-smtp-connection ] must-infer-as