summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/binary.n2
-rw-r--r--tests/binary.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/binary.n b/doc/binary.n
index 3ba823b..6b2c0eb 100644
--- a/doc/binary.n
+++ b/doc/binary.n
@@ -770,7 +770,7 @@ and terminates at the first null (C string semantics). For example,
\fBbinary scan\fR "abc\e000efghi" A* var1
.CE
will return \fB1\fR with \fBabc\fR stored in \fIvar1\fR.
-.RE
+.RE
.IP \fBH\fR 5
The data is turned into a string of \fIcount\fR hexadecimal digits in
high-to-low order represented as a sequence of characters in the set
diff --git a/tests/binary.test b/tests/binary.test
index 501ec0d..7433fe8 100644
--- a/tests/binary.test
+++ b/tests/binary.test
@@ -768,7 +768,7 @@ test binary-21.12 {Tcl_BinaryObjCmd: scan} -setup {
unset -nocomplain arg1
} -body {
list [binary scan "abc def \x00ghi" C* arg1] $arg1
-} -result {1 {abc def }}
+} -result {1 {abc def }}
test binary-22.1 {Tcl_BinaryObjCmd: scan} -returnCodes error -body {
binary scan abc b
} -result {not enough arguments for all format specifiers}