Use call-next-method
parent
0041d2edae
commit
45cf030cbd
|
@ -3,6 +3,12 @@ smtp.server kernel sequences namespaces logging accessors
|
|||
assocs sorting ;
|
||||
IN: smtp.tests
|
||||
|
||||
[ t ] [
|
||||
<email>
|
||||
dup clone "a" "b" set-header drop
|
||||
headers>> assoc-empty?
|
||||
] unit-test
|
||||
|
||||
{ 0 0 } [ [ ] with-smtp-connection ] must-infer-as
|
||||
|
||||
[ "hello\nworld" validate-address ] must-fail
|
||||
|
|
|
@ -106,7 +106,7 @@ LOG: smtp-response DEBUG
|
|||
TUPLE: email from to subject headers body ;
|
||||
|
||||
M: email clone
|
||||
(clone) [ clone ] change-headers ;
|
||||
call-next-method [ clone ] change-headers ;
|
||||
|
||||
: (send) ( email -- )
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue