# This also tests inheritance -- completion should only see a single
# "get_foo".
-gdb_test "complete p foo1.g" "p foo1\\.get_foo"
+test_gdb_complete_unique "p foo1.g" "p foo1.get_foo"
# Test inheritance without overriding.
-gdb_test "complete p foo1.base" "p foo1\\.base_function_only"
+test_gdb_complete_unique "p foo1.base" "p foo1.base_function_only"
# Test non-completion of constructor names.
-gdb_test "complete p foo1.Fo" "p foo1\\.Foofoo"
+test_gdb_complete_unique "p foo1.Fo" "p foo1.Foofoo"
# Test completion with an anonymous struct.
-gdb_test "complete p a.g" "p a\\.get"
+test_gdb_complete_unique "p a.g" "p a.get"
with_test_prefix "expression with namespace" {
# Before the scope operator, GDB shows all the symbols whose