PreCut2 tests: the v6 suffix refusal asserts the counted suffix, not the absence of the readable stamps it also names
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bc6d524bdf
commit
74bcf075a4
1 changed files with 2 additions and 2 deletions
|
|
@ -763,8 +763,8 @@ namespace GameCult.Caching.Tests
|
|||
|
||||
var refusal = Assert.Throws<CultStoreUnreadableException>(() => new DirectoryMessagePackBackingStore(manifest).PullAll())!;
|
||||
|
||||
Assert.That(refusal.Message, Does.Contain("cultcache.store.v6 with a suffix of"));
|
||||
Assert.That(refusal.Message, Does.Not.Contain("directory-content-addressed-pages"));
|
||||
var suffixBytes = System.Text.Encoding.UTF8.GetByteCount(".directory-content-addressed-pages");
|
||||
Assert.That(refusal.Message, Does.Contain($" is cultcache.store.v6 with a suffix of {suffixBytes} bytes;"));
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue