https://github.com/Da-Viper created 
https://github.com/llvm/llvm-project/pull/107030

There is a typo in an assertion that causes the  instruction break-point test 
to be unresolved 

>From 988aab74b0438724f06106453f0c0730ca4068f4 Mon Sep 17 00:00:00 2001
From: Ezike Ebuka <yerimy...@gmail.com>
Date: Tue, 3 Sep 2024 00:37:07 +0100
Subject: [PATCH] [lldb-dap][test] Fix: typo in unresolved test

---
 .../instruction-breakpoint/TestDAP_instruction_breakpoint.py    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/lldb/test/API/tools/lldb-dap/instruction-breakpoint/TestDAP_instruction_breakpoint.py
 
b/lldb/test/API/tools/lldb-dap/instruction-breakpoint/TestDAP_instruction_breakpoint.py
index 3862be7bfa34c2..53b7df9e54af22 100644
--- 
a/lldb/test/API/tools/lldb-dap/instruction-breakpoint/TestDAP_instruction_breakpoint.py
+++ 
b/lldb/test/API/tools/lldb-dap/instruction-breakpoint/TestDAP_instruction_breakpoint.py
@@ -35,7 +35,7 @@ def instruction_breakpoint_test(self):
         # Set source breakpoint 1
         response = self.dap_server.request_setBreakpoints(self.main_path, 
[main_line])
         breakpoints = response["body"]["breakpoints"]
-        self.assertEquals(len(breakpoints), 1)
+        self.assertEqual(len(breakpoints), 1)
         breakpoint = breakpoints[0]
         self.assertEqual(
             breakpoint["line"], main_line, "incorrect breakpoint source line"

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to