================ @@ -89,17 +91,14 @@ def test_supported_capability_x86_arch(self): self.assertEqual( len(breakpoint_ids), len(bp_lines), "expect correct number of breakpoints" ) - is_supported = self.dap_server.get_initialize_value( - "supportsStepInTargetsRequest" + is_supported = self.dap_server.get_capability( + "supportsStepInTargetsRequest", False ) - self.assertEqual( + self.assertTrue( is_supported, ---------------- da-viper wrote:
prefer to use the equal since `self.assertTrue("not_a_boolean")` will silently pass if the capability is incorrectly assigned. https://github.com/llvm/llvm-project/pull/142831 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits