]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.python/py-value.exp
gdb/testsuite: remove use of then keyword from gdb.python/*.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.python / py-value.exp
index b88c4515c8ce60b9854a6568c937b9684fc132c9..c04c98da162e86b131c0c1e88d55b890b3073623 100644 (file)
@@ -415,7 +415,7 @@ proc test_subscript_regression {exefile lang} {
  # Start with a fresh gdb.
  clean_restart ${exefile}
 
- if ![runto_main ] then {
+ if {![runto_main]} {
      perror "couldn't run to breakpoint"
      return
  }
@@ -652,7 +652,7 @@ test_add_to_history
 
 # The following tests require execution.
 
-if ![runto_main] then {
+if {![runto_main]} {
     return 0
 }