[Lldb-commits] [lldb] 7d7d2d2 - [lldb-dap][test] Fix: Typo in unresolved test (#107030)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 2 23:38:03 PDT 2024
Author: Da-Viper
Date: 2024-09-03T08:37:59+02:00
New Revision: 7d7d2d2b54172f97300c02ec80bb568d35403cce
URL: https://github.com/llvm/llvm-project/commit/7d7d2d2b54172f97300c02ec80bb568d35403cce
DIFF: https://github.com/llvm/llvm-project/commit/7d7d2d2b54172f97300c02ec80bb568d35403cce.diff
LOG: [lldb-dap][test] Fix: Typo in unresolved test (#107030)
There is a typo in an assertion that causes the instruction break-point
test to be unresolved
Added:
Modified:
lldb/test/API/tools/lldb-dap/instruction-breakpoint/TestDAP_instruction_breakpoint.py
Removed:
################################################################################
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"
More information about the lldb-commits
mailing list