aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.pascal/print.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.pascal/print.exp')
-rw-r--r--gdb/testsuite/gdb.pascal/print.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.pascal/print.exp b/gdb/testsuite/gdb.pascal/print.exp
index 98b0879..18dff4b 100644
--- a/gdb/testsuite/gdb.pascal/print.exp
+++ b/gdb/testsuite/gdb.pascal/print.exp
@@ -59,7 +59,7 @@ proc test_float_rejected {} {
clean_restart
-if [set_lang_pascal] {
+if { [set_lang_pascal] } {
test_float_accepted
test_float_rejected
} else {