Aleksandr Kuzmenko 6 years ago
parent
commit
c063c950a8

+ 1 - 1
tests/misc/projects/Issue8336/Main.hx

@@ -7,7 +7,7 @@ class Main {
 
 
 	macro static function connect() {
 	macro static function connect() {
 		try {
 		try {
-			new sys.net.Socket().connect(new sys.net.Host("192.168.0.66"), 443);
+			new sys.net.Socket().connect(new sys.net.Host("127.0.0.1"), 9999);
 		} catch(e:String) {
 		} catch(e:String) {
 			haxe.macro.Context.error(e, (macro {}).pos);
 			haxe.macro.Context.error(e, (macro {}).pos);
 		}
 		}

+ 1 - 1
tests/misc/projects/Issue8336/compile-fail.hxml.stderr

@@ -1 +1 @@
-Main.hx:12: characters 39-41 : No route to host(connect, )
+Main.hx:12: characters 39-41 : Connection refused(connect, )