]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix typo in py-arch.exp
authorTom Tromey <tromey@adacore.com>
Mon, 16 Sep 2024 14:11:54 +0000 (08:11 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 16 Sep 2024 14:11:54 +0000 (08:11 -0600)
I found a typo in a test name in py-arch.exp.

gdb/testsuite/gdb.python/py-arch.exp

index 3c58bf1281f5fe5c9e395df91ee2a08869196981..aef4186d0259f3301c9edac842550c2fc185d529 100644 (file)
@@ -28,7 +28,7 @@ if ![runto_main] {
 # internal GDB assert.
 gdb_py_test_silent_cmd "python empty = gdb.Architecture()" "get empty arch" 0
 gdb_test "python print(repr (empty))" "<gdb\\.Architecture \\(invalid\\)>" \
-    "Test empty achitecture __repr__ does not trigger an assert"
+    "Test empty architecture __repr__ does not trigger an assert"
 gdb_test "python print(empty.name())" ".*Architecture is invalid.*" \
     "Test empty architecture.name does not trigger an assert"
 gdb_test "python print(empty.disassemble())" ".*Architecture is invalid.*" \