mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 20:07:20 +00:00
Upgraded to .NET 10 (#1147)
This commit is contained in:
1 parent
faae2951f7
commit
fc7399e81b
327 files changed
+3059
-3049
No files matched your search
@@ -32,12 +32,12 @@ public sealed class ZipEntryNamesTests
|
||||
[TestCase("plugin\0.lua")]
|
||||
public void ANameWhichCouldLeadElsewhereIsRejected(string entryName)
|
||||
{
|
||||
Assert.Multiple(() =>
|
||||
using (Assert.EnterMultipleScope())
|
||||
{
|
||||
Assert.That(() => ZipEntryNames.Normalize(entryName), Throws.InstanceOf<InvalidDataException>());
|
||||
Assert.That(ZipEntryNames.TryNormalize(entryName, out var normalizedEntryName), Is.False);
|
||||
Assert.That(normalizedEntryName, Is.Empty);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in new issue
Block a user