aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.go/print.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.go/print.exp')
-rw-r--r--gdb/testsuite/gdb.go/print.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.go/print.exp b/gdb/testsuite/gdb.go/print.exp
index 85cb6a1..a02b746 100644
--- a/gdb/testsuite/gdb.go/print.exp
+++ b/gdb/testsuite/gdb.go/print.exp
@@ -58,7 +58,7 @@ proc test_float_rejected {} {
clean_restart
-if [set_lang_go] {
+if {[set_lang_go]} {
test_float_accepted
test_float_rejected
} else {