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