summaryrefslogtreecommitdiffstats
path: root/tests/link.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-09-08 14:09:05 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-09-08 14:09:05 (GMT)
commit49c00d7396dbb3216c0d6de96176643df0ae40fe (patch)
treec18e36b78553cd48da938eeae053a32dce60a34c /tests/link.test
parentc7958aa907e245e18248e2ec5c1dfaa5b92be61d (diff)
downloadtcl-49c00d7396dbb3216c0d6de96176643df0ae40fe.zip
tcl-49c00d7396dbb3216c0d6de96176643df0ae40fe.tar.gz
tcl-49c00d7396dbb3216c0d6de96176643df0ae40fe.tar.bz2
Test suite about fixed up for TIP#254
Diffstat (limited to 'tests/link.test')
-rw-r--r--tests/link.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/link.test b/tests/link.test
index 32367c2..8bbc029 100644
--- a/tests/link.test
+++ b/tests/link.test
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: link.test,v 1.11 2005/09/08 14:05:06 dkf Exp $
+# RCS: @(#) $Id: link.test,v 1.12 2005/09/08 14:09:06 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
@@ -55,8 +55,8 @@ test link-2.1 {writing C variables from Tcl} {testlink} {
set ulong 567890
set float 1.0987654321
set uwide 357357357357
- concat [testlink get] | $int $real $bool $string $wide
-} {465 -10.5 1 abcdef 135135 79 161 8000 40000 -1073628482 34543 567890 ? 357357357357 | 00721 -10.5 true abcdef 135135 79 161 8000 40000 -1073628482 34543 567890 ? 357357357357}
+ concat [testlink get] | $int $real $bool $string $wide $char $uchar $short $ushort $uint $long $ulong $float $uwide
+} {465 -10.5 1 abcdef 135135 79 161 8000 40000 -1073628482 34543 567890 1.0987653732299805 357357357357 | 00721 -10.5 true abcdef 135135 79 161 8000 40000 -1073628482 34543 567890 1.0987653732299805 357357357357}
test link-2.2 {writing bad values into variables} {testlink} {
testlink delete
testlink set 43 1.23 4 - 56785678 64 250 30000 60000 0xbeefbabe 12321 32123 3.25 1231231234
@@ -144,7 +144,7 @@ test link-5.1 {unlinking variables} {testlink} {
set float dskjfbjfd
set uwide isdfsngs
testlink get
-} {-6 -2.25 0 stringValue 13579 64 250 30000 60000 0xbeefbabe 12321 32123 3.25 1231231234}
+} {-6 -2.25 0 stringValue 13579 64 250 30000 60000 -1091585346 12321 32123 3.25 1231231234}
test link-5.2 {unlinking variables} {testlink} {
testlink delete
testlink set -6 -2.25 0 stringValue 97531 64 250 30000 60000 0xbeefbabe 12321 32123 3.25 1231231234