From d791a1b6ae0f0ae41413d48fdf68db61977de5ec Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Wed, 7 Jun 2023 11:36:19 +0200 Subject: [PATCH] [gdb/testsuite] Fix two typos in gdb.python/tui-window-disabled.exp Fix two typos in test-case gdb.python/tui-window-disabled.exp. --- gdb/testsuite/gdb.python/tui-window-disabled.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.python/tui-window-disabled.exp b/gdb/testsuite/gdb.python/tui-window-disabled.exp index b2beb77c217..bee58a86caa 100644 --- a/gdb/testsuite/gdb.python/tui-window-disabled.exp +++ b/gdb/testsuite/gdb.python/tui-window-disabled.exp @@ -132,7 +132,7 @@ proc run_test { cleanup_properly } { gdb_test "print 2 + 2 + 2" " = 6" # Now tell the Python code not to check the window is valid before - # calling rerended. The result is the Python code will try to draw to + # calling render. The result is the Python code will try to draw to # the screen. This should throw a Python exception. gdb_test_no_output "python perform_valid_check = False" set exception_pattern "\r\nPython Exception\[^\n\r\]+TUI window is invalid\[^\n\r\]+" @@ -153,7 +153,7 @@ proc run_test { cleanup_properly } { # Set 'update_title' to True. The Python script will now try to set # the window title when an event occurs (instead of trying to redraw # the window). As the window is still not displayed this will again - # through an exception. + # throw an exception. gdb_test_no_output "python update_title = True" gdb_test_multiple "next" "next at cli, with an exception for setting the title" { -re -wrap "func \\(5\\);${exception_pattern}" { -- 2.30.2