]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix typo in gdb.ada/complete.exp test
authorTom Tromey <tromey@adacore.com>
Tue, 24 Sep 2024 18:27:24 +0000 (12:27 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 24 Sep 2024 18:27:24 +0000 (12:27 -0600)
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

index 41ea8ae7c62ba19e4604e50f8bca8f4f31b34760..dc3cc4eaa81c83a87714cea55094fffd5026a7cf 100644 (file)
@@ -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"