diff --git a/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ClipboardTests.cs b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ClipboardTests.cs index dc7a12a751a..563a5313e0b 100644 --- a/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ClipboardTests.cs +++ b/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ClipboardTests.cs @@ -532,7 +532,7 @@ public unsafe void ClipBoard_GetClipboard_ReturnsProxy() // The proxy does not know about this interface, it should give back the real pointer. using var realDataPointer = proxy.Query(); using var realDataPointerUnknown = realDataPointer.Query(); - ((nint)proxyUnknown.Value).Should().NotBe((nint)realDataPointer.Value); + ((nint)proxyUnknown.Value).Should().NotBe((nint)realDataPointerUnknown.Value); ((nint)dataUnknown.Value).Should().Be((nint)realDataPointerUnknown.Value); } }