servicepoint-binding-uniffi/libraries/csharp/ServicePoint.Tests/ConnectionTests.cs
Vinzenz Schroeter 21931f847f
Some checks failed
Rust / build (push) Has been cancelled
split servicepoint_binding_uniffi into own crate
2025-02-16 13:13:54 +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$§"));
}
}