Skip to content

Commit

Permalink
Merge branch 'master' into mbedtls3
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Jun 17, 2024
2 parents fc1541c + e1798e6 commit d52a7c8
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions test/std/Test.hx
Original file line number Diff line number Diff line change
Expand Up @@ -420,17 +420,30 @@ class Test

}

public static function testHost()
public static function testLocalhost()
{
log("Test Host");
try
{
var localhost = Host.localhost();
v('localhost :$localhost');
var host = new Host(localhost);
if (localhost == null || localhost.length == 0)
return error("null or empty localhost");
return ok();
}
catch(e:Dynamic)
{
return error("Unexpected error in testHost: " + e);
}
}

public static function testHost()
{
log("Test Host");
try
{
var host = new Host("github.com");
v('host :$host');
// var reverse = host.reverse();
// v('reverse :$reverse');
return ok();
}
catch(e:Dynamic)
Expand Down

0 comments on commit d52a7c8

Please sign in to comment.