Walk rows lows: Rust @directory error kind and delete, stale known-gaps (#116)
This commit is contained in:
parent
af9142539e
commit
19b95ba2ab
4 changed files with 16 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue