diff --git a/tests/GameCult.Caching.Tests/PreCut2StoreFormatTests.cs b/tests/GameCult.Caching.Tests/PreCut2StoreFormatTests.cs index dd9e0d6f..4580a185 100644 --- a/tests/GameCult.Caching.Tests/PreCut2StoreFormatTests.cs +++ b/tests/GameCult.Caching.Tests/PreCut2StoreFormatTests.cs @@ -763,8 +763,8 @@ namespace GameCult.Caching.Tests var refusal = Assert.Throws(() => 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 {