From 6f473e206f09cfc923cb77f9f58abbaf5e6d9005 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Thu, 18 Jun 2026 14:37:51 -0700 Subject: [PATCH] Disable NullPointerNotExpandable test for cppvsdbg cppvsdbg allows expanding null pointers to support managed delegate expansion, so the null-pointer-not-expandable assertion does not apply. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- test/CppTests/Tests/ExpressionTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/CppTests/Tests/ExpressionTests.cs b/test/CppTests/Tests/ExpressionTests.cs index 0ed1acc67..2fea57c13 100644 --- a/test/CppTests/Tests/ExpressionTests.cs +++ b/test/CppTests/Tests/ExpressionTests.cs @@ -519,6 +519,9 @@ public void SetExpressionOnVariable(ITestSettings settings) [Theory] [DependsOnTest(nameof(CompileKitchenSinkForExpressionTests))] [RequiresTestSettings] + // cppvsdbg allows expanding null pointers to support managed delegate expansion. + // Disabling this test for VsDbg since the assertion does not apply. + [UnsupportedDebugger(SupportedDebugger.VsDbg, SupportedArchitecture.x64 | SupportedArchitecture.x86)] public void NullPointerNotExpandable(ITestSettings settings) { this.TestPurpose("Verify that a null pointer is not expandable in the variables view.");