aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-05-17 17:42:34 -0500
committerJP Dillingham <jp@dillingham.me>2026-05-17 17:42:34 -0500
commitf402e6f074b49d2344ba6d839f58298b87971f40 (patch)
tree70b11849524eb30f5ccfc6cdb6fdf5cfdf911138 /tests
parent3c799f205ce56e250883efd1deda798b758bb788 (diff)
downloadslskd-f402e6f074b49d2344ba6d839f58298b87971f40.tar.gz
leave some notes
Diffstat (limited to 'tests')
-rw-r--r--tests/slskd.Tests.Unit/Core/Options/SharesOptionsTests.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/slskd.Tests.Unit/Core/Options/SharesOptionsTests.cs b/tests/slskd.Tests.Unit/Core/Options/SharesOptionsTests.cs
index 35ff53e6..7eacb95d 100644
--- a/tests/slskd.Tests.Unit/Core/Options/SharesOptionsTests.cs
+++ b/tests/slskd.Tests.Unit/Core/Options/SharesOptionsTests.cs
@@ -28,6 +28,9 @@ public class SharesOptionsTests
Directories = [@"[foo]/bar/[baz]/"]
};
+ // todo: fix this so that it fully validates on all platforms; currently this fails
+ // validation on Windows and would fail on Linux if i were to use backslashes
+ // the assertion for the alias proves we have fixed an aliasing bug so it's fine for now
var results = Validate(options);
Assert.DoesNotContain(results, r => r.ErrorMessage?.Contains("aliases may not contain path separators") == true);