[binutils-gdb] Fix typo in gdb.ada/complete.exp test
Tom Tromey
tromey@sourceware.org
Tue Sep 24 18:30:37 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1db505de9387421347e3f46d5d189cc93a549b02
commit 1db505de9387421347e3f46d5d189cc93a549b02
Author: Tom Tromey <tromey@adacore.com>
Date: Tue Sep 24 12:27:24 2024 -0600
Fix typo in gdb.ada/complete.exp test
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.
Diff:
---
gdb/testsuite/gdb.ada/complete.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
More information about the Gdb-cvs
mailing list