Skip to content

Commit 5ed7b1b

Browse files
committed
Merge branch 'vnext'
2 parents 3f3c2f5 + 61e099c commit 5ed7b1b

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private static async ValueTask BuildNotesSectionAsync(DiscordEmbedBuilder builde
280280

281281
if (items["os_type"] is "Windows"
282282
&& Version.TryParse(items["os_version"], out var winVersion)
283-
&& (winVersion is { Major: < 10 } or { Build: <19045 or (>20000 and <22621) }))
283+
&& winVersion is { Major: < 11 } or { Build: <22631 })
284284
notes.Add("⚠️ Please [upgrade your Windows](https://www.microsoft.com/en-us/software-download/windows11) to currently supported version");
285285
if (items["os_type"] is "MacOS" && Version.TryParse(items["os_version"], out var macVersion))
286286
{

CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,16 +1018,16 @@ select m
10181018
19041 => "10 2004",
10191019
19042 => "10 20H2",
10201020
19043 => "10 21H1",
1021-
19044 => "10 21H2", // deprecated
1022-
19045 => "10 22H2",
1021+
19044 => "10 21H2",
1022+
19045 => "10 22H2", // deprecated
10231023

10241024
< 21390 => "10 Dev Build " + windowsVersion.Build,
10251025
21390 => "10 21H2 Insider",
10261026
< 22000 => "11 Internal Build " + windowsVersion.Build,
1027-
22000 => "11 21H2", // deprecated
1027+
22000 => "11 21H2",
10281028
< 22621 => "11 22H2 Insider Build " + windowsVersion.Build,
1029-
22621 => "11 22H2",
1030-
22631 => "11 23H2",
1029+
22621 => "11 22H2", // deprecated
1030+
22631 => "11 23H2", // nov 11, 2025
10311031
< 23000 => "11 Beta Build " + windowsVersion.Build, // 22k series
10321032
< 24000 => "11 Dev Build " + windowsVersion.Build, // 23k series
10331033
< 25000 => "11 ??? Build " + windowsVersion.Build,

Tests/MemoryCacheExtensionTests.cs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ public void GetCacheKeysTest()
1717
const string testVal = "vale13";
1818
cache.Set(13, testVal);
1919
cache.Set("bob", 69);
20-
Assert.Multiple(() =>
21-
{
20+
using (Assert.EnterMultipleScope())
21+
{
2222
Assert.That(cache.TryGetValue(13, out string? expectedVal), Is.True);
2323
Assert.That(expectedVal, Is.EqualTo(testVal));
2424
Assert.That(cache.TryGetValue("bob", out int? expectedValInt), Is.True);
2525
Assert.That(expectedValInt, Is.EqualTo(69));
26-
}
27-
);
28-
Assert.That(cache.GetCacheKeys<int>(), Has.Count.EqualTo(1));
26+
Assert.That(cache.GetCacheKeys<int>(), Has.Count.EqualTo(1));
27+
}
2928
}
3029

3130
[Test]
@@ -36,7 +35,10 @@ public void GetCacheEntriesTest()
3635

3736
cache.Set(13, "val13");
3837
cache.Set("bob", 69);
39-
Assert.That(cache.GetCacheEntries<int>(), Has.Count.EqualTo(1));
40-
Assert.That(cache.GetCacheEntries<string>(), Has.Count.EqualTo(1));
38+
using (Assert.EnterMultipleScope())
39+
{
40+
Assert.That(cache.GetCacheEntries<int>(), Has.Count.EqualTo(1));
41+
Assert.That(cache.GetCacheEntries<string>(), Has.Count.EqualTo(1));
42+
}
4143
}
4244
}

0 commit comments

Comments
 (0)