mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 01:47:21 +00:00
Upgraded to .NET 10 (#1147)
This commit is contained in:
1 parent
faae2951f7
commit
fc7399e81b
327 files changed
+3059
-3049
No files matched your search
@@ -35,13 +35,13 @@ public sealed class IndexStoreDisplayInfoTests
|
||||
await AddFailureAsync(store, MAILBOX_ID, MailKey('b'));
|
||||
|
||||
var lines = await ReadDisplayInfoAsync(store);
|
||||
Assert.Multiple(() =>
|
||||
using (Assert.EnterMultipleScope())
|
||||
{
|
||||
Assert.That(lines["Indexed files"], Is.EqualTo("2"));
|
||||
Assert.That(lines["Permanently skipped files"], Is.EqualTo("1"));
|
||||
Assert.That(lines["Indexed mails"], Is.EqualTo("1"));
|
||||
Assert.That(lines["Permanently skipped mails"], Is.EqualTo("1"));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -52,12 +52,12 @@ public sealed class IndexStoreDisplayInfoTests
|
||||
await AddDocumentAsync(store, FOLDER_ID, "/tmp/test-data/minutes.md");
|
||||
|
||||
var lines = await ReadDisplayInfoAsync(store);
|
||||
Assert.Multiple(() =>
|
||||
using (Assert.EnterMultipleScope())
|
||||
{
|
||||
Assert.That(lines["Indexed files"], Is.EqualTo("1"));
|
||||
Assert.That(lines, Does.Not.ContainKey("Indexed mails"));
|
||||
Assert.That(lines, Does.Not.ContainKey("Permanently skipped mails"));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private static string MailKey(char filler) => MailContentKey.PREFIX + new string(filler, 64);
|
||||
|
||||
Reference in new issue
Block a user