commit bc411af4ffb07fa0e8d713c300c2badd1116acff (tree)
parent df574ccf8655726dc204142e7bcfb36770426257
Author: kristopher tate <kt@connectfree.co.jp>
Date: Sun, 22 Jul 2018 02:21:52 +0900
std.event.tcp: SKIP test instead of OKing test;
tracking issue #1274 ;
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/std/event/tcp.zig b/std/event/tcp.zig
@@ -125,7 +125,7 @@ pub async fn connect(loop: *Loop, _address: *const std.net.Address) !std.os.File
test "listen on a port, send bytes, receive bytes" {
if (builtin.os != builtin.Os.linux) {
// TODO build abstractions for other operating systems
- return;
+ return error.skip;
}
const MyServer = struct {
tcp_server: Server,