RemovePackage test: spell the backslash name as a backslash
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
65a6ce8705
commit
f0ec95e640
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ public sealed class ShipModCatalogTests : IDisposable
|
|||
WritePackage("mod.skiff");
|
||||
File.WriteAllText(Path.Combine(_directory.Path, "outside.txt"), "x");
|
||||
Directory.CreateDirectory(Path.Combine(_directory.Path, "Mods2"));
|
||||
foreach (var name in new[] { "", ".", "..", "(all mods)", "a/b", "a\b", "../Mods", "missing" })
|
||||
foreach (var name in new[] { "", ".", "..", "(all mods)", "a/b", "a\\b", "../Mods", "missing" })
|
||||
Assert.ThrowsAny<Exception>(() => ShipModCatalog.RemovePackage(Mods, name));
|
||||
Assert.True(Directory.Exists(Mods));
|
||||
Assert.True(Directory.Exists(Path.Combine(Mods, "mod.skiff")));
|
||||
|
|
|
|||
Loading…
Reference in a new issue