Walk rows lows: Rust @directory error kind and delete, stale known-gaps (#116)

This commit is contained in:
Libby 2026-11-11 18:11:55 +00:00
commit 19b95ba2ab
4 changed files with 16 additions and 4 deletions

View file

@ -314,6 +314,9 @@ namespace GameCult.Caching.Tests
Assert.That(() => cache.Commit(batch => batch.Upsert(typeof(IdDeck), new IdDeck { Name = "e" }, new CultRecordKey("e"))),
Throws.TypeOf<IOException>().With.Message.Contains("directory"));
Assert.That(() => cache.Commit(batch => batch.Remove(new CultRecordKey("e"))),
Throws.TypeOf<IOException>().With.Message.Contains("directory"));
Assert.That(Directory.GetFileSystemEntries(path), Is.Empty);
Assert.That(Directory.GetFileSystemEntries(later), Is.Empty);
}