[pushed] Fix typo in gdb.ada/complete.exp test

Message ID 20240924183011.3380103-1-tromey@adacore.com
State New
Headers
Series [pushed] Fix typo in gdb.ada/complete.exp test |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Tom Tromey Sept. 24, 2024, 6:30 p.m. UTC
  I noticed that two tests in gdb.ada/complete.exp are testing the same
thing: the completion of "p pck.inne".  The second such test has this
comment:

    # A fully qualified package name

I believe the intent here was to test "p pck.inner" (note the trailing
"r").  This patch makes this change.
---
 gdb/testsuite/gdb.ada/complete.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gdb/testsuite/gdb.ada/complete.exp b/gdb/testsuite/gdb.ada/complete.exp
index 41ea8ae7c62..dc3cc4eaa81 100644
--- a/gdb/testsuite/gdb.ada/complete.exp
+++ b/gdb/testsuite/gdb.ada/complete.exp
@@ -124,7 +124,7 @@  test_gdb_complete "pck.my" \
                   "p pck.my_global_variable"
 
 # A fully qualified package name
-test_gdb_complete "pck.inne" \
+test_gdb_complete "pck.inner" \
     "p pck.inner.inside_variable" \
     "complete fully qualified package name"