aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill/chexp.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.chill/chexp.exp')
-rw-r--r--gdb/testsuite/gdb.chill/chexp.exp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.chill/chexp.exp b/gdb/testsuite/gdb.chill/chexp.exp
index b3c00c5..39a83fd 100644
--- a/gdb/testsuite/gdb.chill/chexp.exp
+++ b/gdb/testsuite/gdb.chill/chexp.exp
@@ -162,18 +162,18 @@ proc test_integer_literals_rejected {} {
# Test various binary values.
- test_print_reject "p B'2"
- test_print_reject "p B'12"
+ test_print_reject "p B'2" "Too-large digit in bitstring or integer."
+ test_print_reject "p B'12" "Too-large digit in bitstring or integer."
# Test various octal values.
- test_print_reject "p O'9"
- test_print_reject "p O'79"
+ test_print_reject "p O'9" "Too-large digit in bitstring or integer."
+ test_print_reject "p O'79" "Too-large digit in bitstring or integer."
# Test various hexadecimal values.
- test_print_reject "p H'G"
- test_print_reject "p H'AG"
+ test_print_reject "p H'G" "Invalid character in bitstring or integer."
+ test_print_reject "p H'AG" "Invalid character in bitstring or integer."
}
proc test_boolean_literals_accepted {} {