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.");