diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-09-27 15:44:12 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-09-27 15:44:12 (GMT) |
commit | 44c36899ef2859af28128849cfbbb85c911bbb2f (patch) | |
tree | 5f0f89707e324dd57715ae9e0334f366372a802b /tests/binary.test | |
parent | 261a0e33fa4af47700e2bc2e480b19e4dfb446ba (diff) | |
download | tcl-44c36899ef2859af28128849cfbbb85c911bbb2f.zip tcl-44c36899ef2859af28128849cfbbb85c911bbb2f.tar.gz tcl-44c36899ef2859af28128849cfbbb85c911bbb2f.tar.bz2 |
Fix [Bug 1116542]
Diffstat (limited to 'tests/binary.test')
-rw-r--r-- | tests/binary.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/binary.test b/tests/binary.test index 98eb4fc..f792dd8 100644 --- a/tests/binary.test +++ b/tests/binary.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: binary.test,v 1.11.2.2 2003/12/02 09:31:54 dkf Exp $ +# RCS: @(#) $Id: binary.test,v 1.11.2.3 2005/09/27 15:44:13 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -532,6 +532,10 @@ test binary-14.17 {Tcl_BinaryObjCmd: format} {nonPortable pcOnly} { set a {1.6 3.4} binary format d1 $a } \x9a\x99\x99\x99\x99\x99\xf9\x3f +test binary-14.18 {FormatNumber: Bug 1116542} { + binary scan [binary format d 1.25] d w + set w +} 1.25 test binary-15.1 {Tcl_BinaryObjCmd: format} { list [catch {binary format ax*a "y" "z"} msg] $msg |