aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/options.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/options.exp')
-rw-r--r--gdb/testsuite/gdb.base/options.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/options.exp b/gdb/testsuite/gdb.base/options.exp
index f32d258..7822e4a 100644
--- a/gdb/testsuite/gdb.base/options.exp
+++ b/gdb/testsuite/gdb.base/options.exp
@@ -62,8 +62,7 @@ proc check_completion_result {expected test} {
# just checking whether GDB recognizes the option and auto-appends a
# space.
proc test_completer_recognizes {res input_line} {
- set expected_re [string_to_regexp $input_line]
- test_gdb_complete_unique $input_line $expected_re
+ test_gdb_complete_unique $input_line $input_line
check_completion_result $res $input_line
}