System.PrivateUri.Tests.IdnDnsSafeHostTest.IdnDnsSafeHost_MultiLabelAllExceptIntranet_Punycode C# (CSharp) Method

IdnDnsSafeHost_MultiLabelAllExceptIntranet_Punycode() private method

        public void IdnDnsSafeHost_MultiLabelAllExceptIntranet_Punycode()
        {
            Uri test = new Uri("HTTPS://\u30AF.com/");

            Assert.Equal("\u30AF.com", test.Host);
            Assert.Equal("\u30AF.com", test.DnsSafeHost);
            Assert.Equal("xn--pck.com", test.IdnHost);
            Assert.Equal("https://\u30AF.com/", test.AbsoluteUri);
        }