mirror of
https://github.com/janet-lang/janet
synced 2024-12-23 23:10:26 +00:00
Update test code.
This commit is contained in:
parent
468a31f515
commit
40ef224a95
@ -169,7 +169,8 @@
|
|||||||
(assert (and (= my-ip (get comparison 2))
|
(assert (and (= my-ip (get comparison 2))
|
||||||
(= (string my-port) (get comparison 3))
|
(= (string my-port) (get comparison 3))
|
||||||
(= remote-ip (get comparison 0))
|
(= remote-ip (get comparison 0))
|
||||||
(= (string remote-port) (get comparison 1))))))
|
(= (string remote-port) (get comparison 1)))
|
||||||
|
"localname does not match peername")))
|
||||||
(defn names-handler
|
(defn names-handler
|
||||||
"Simple handler for connections."
|
"Simple handler for connections."
|
||||||
[stream]
|
[stream]
|
||||||
|
Loading…
Reference in New Issue
Block a user