1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:58:48 +00:00

[ci skip] Fix incorrect test

This commit is contained in:
Oliver Booth 2022-04-21 21:41:40 +01:00
parent 734f327a66
commit e88494fae4
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -1,4 +1,4 @@
using System.Net; using System.Net;
using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.TestTools.UnitTesting;
using X10D.Net; using X10D.Net;
@ -39,6 +39,6 @@ public class EndPointTests
public void IPEndPoint_GetPort_1234() public void IPEndPoint_GetPort_1234()
{ {
var endPoint = new IPEndPoint(IPAddress.Loopback, 1234); var endPoint = new IPEndPoint(IPAddress.Loopback, 1234);
Assert.AreEqual("127.0.0.1", endPoint.GetHost()); Assert.AreEqual(1234, endPoint.GetPort());
} }
} }