servicepoint-binding-csharp/ServicePoint.Tests/ConnectionTests.cs
Vinzenz Schroeter 3e599a4735
Some checks failed
Rust / build (push) Failing after 28s
move c# bindings into separate repository
2025-02-16 13:59:41 +01:00

12 lines
301 B
C#

namespace ServicePoint.Tests;
public class ConnectionTests
{
[Fact]
public void InvalidHostnameThrows()
{
Assert.Throws<ServicePointException.IoException>(() => new Connection(""));
Assert.Throws<ServicePointException.IoException>(() => new Connection("-%6$§"));
}
}