diff --git a/src/ui/console/mod.rs b/src/ui/console/mod.rs index fd9f77c..d350185 100644 --- a/src/ui/console/mod.rs +++ b/src/ui/console/mod.rs @@ -488,7 +488,7 @@ impl AppLoop { Ok(r#break::ExecutionResult::Removed(brkpts)) => { brkpts .iter() - .for_each(|brkpt| print_bp("Remove breakpoint", brkpt)); + .for_each(|brkpt| print_bp("Removed breakpoint", brkpt)); } Ok(r#break::ExecutionResult::Dump(brkpts)) => brkpts .iter() diff --git a/tests/integration/test_command.py b/tests/integration/test_command.py index 5091466..9bbced7 100644 --- a/tests/integration/test_command.py +++ b/tests/integration/test_command.py @@ -269,7 +269,7 @@ def test_function_breakpoint_remove(self): self.debugger.expect('New breakpoint') self.debugger.sendline('break remove main') - self.debugger.expect('Remove breakpoint') + self.debugger.expect('Removed breakpoint') self.debugger.sendline('run') self.debugger.expect('bye!') @@ -283,7 +283,7 @@ def test_line_breakpoint_remove(self): self.debugger.expect_exact('15 println!("{}", s)') self.debugger.sendline('break remove hello_world.rs:15') - self.debugger.expect('Remove breakpoint') + self.debugger.expect('Removed breakpoint') self.debugger.sendline('continue') self.debugger.expect('bye!') @@ -294,7 +294,7 @@ def test_breakpoint_remove_by_number(self): self.debugger.expect('New breakpoint') self.debugger.sendline('break remove 1') - self.debugger.expect('Remove breakpoint') + self.debugger.expect('Removed breakpoint') self.debugger.sendline('run') self.debugger.expect('bye!') @@ -327,7 +327,7 @@ def test_breakpoint_info(self): self.debugger.expect(r'- Breakpoint 4 at .*0x[0-9A-F]{14,16}.*: .*\/hello_world\.rs.*:7') self.debugger.sendline('break remove main') - self.debugger.expect('Remove breakpoint') + self.debugger.expect('Removed breakpoint') self.debugger.sendline('break info') self.debugger.expect(r'- Breakpoint 1 at .*0x[0-9A-F]{14,16}.*: .*\/hello_world\.rs.*:9 ')