aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.rust/simple.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-05-19 13:41:03 -0600
committerTom Tromey <tromey@adacore.com>2020-05-19 13:45:16 -0600
commit76571211fe65c4942f3ce4e04115a0396cd2522c (patch)
tree9ccc2acb8f971082456b2466901f9fceb0b77991 /gdb/testsuite/gdb.rust/simple.exp
parent4cd9f3d510840bb951cd9498cdf390dd9e59adc9 (diff)
downloadgdb-76571211fe65c4942f3ce4e04115a0396cd2522c.zip
gdb-76571211fe65c4942f3ce4e04115a0396cd2522c.tar.gz
gdb-76571211fe65c4942f3ce4e04115a0396cd2522c.tar.bz2
Restore missing Rust test
An earlier patch inadvertently broke a Rust test. This restores it. gdb/testsuite/ChangeLog 2020-05-19 Tom Tromey <tromey@adacore.com> * gdb.rust/simple.exp: Restore missing test result.
Diffstat (limited to 'gdb/testsuite/gdb.rust/simple.exp')
-rw-r--r--gdb/testsuite/gdb.rust/simple.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.rust/simple.exp b/gdb/testsuite/gdb.rust/simple.exp
index 2653170..f0cad4e 100644
--- a/gdb/testsuite/gdb.rust/simple.exp
+++ b/gdb/testsuite/gdb.rust/simple.exp
@@ -88,7 +88,7 @@ gdb_test "print w\[2\] @ 2" " = \\\[3, 4\\\]"
gdb_test "print w_ptr\[2\]" " = 3"
gdb_test "print fromslice" " = 3"
gdb_test "print slice\[0\]" " = 3"
-gdb_test "print slice as &\[i32\]\[0\]"
+gdb_test "print slice as &\[i32\]\[0\]" " = 3"
gdb_test_sequence "ptype slice" "" {
" = struct &\\\[i32\\\] \\{"