Skip to content

[lldb-dap][test] Fix: Typo in unresolved test #107030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

da-viper
Copy link
Contributor

@da-viper da-viper commented Sep 2, 2024

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

@llvmbot
Copy link
Member

llvmbot commented Sep 2, 2024

@llvm/pr-subscribers-lldb

Author: None (Da-Viper)

Changes

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


Full diff: https://github.com/llvm/llvm-project/pull/107030.diff

1 Files Affected:

  • (modified) lldb/test/API/tools/lldb-dap/instruction-breakpoint/TestDAP_instruction_breakpoint.py (+1-1)
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"

@labath labath merged commit 7d7d2d2 into llvm:main Sep 3, 2024
9 checks passed
@da-viper da-viper deleted the lldb_fix_unresolved_test branch September 3, 2024 11:53
adrian-prantl pushed a commit to adrian-prantl/llvm-project that referenced this pull request Dec 20, 2024
There is a typo in an assertion that causes the instruction break-point
test to be unresolved

(cherry picked from commit 7d7d2d2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants