summaryrefslogtreecommitdiffstats
path: root/tests/cursor.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-06-13 15:31:38 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-06-13 15:31:38 (GMT)
commit71ca9685bbb22a1987831ff214a05b647cbb4426 (patch)
tree684f81d68c518ddcb7051828b05c86b22f8591ea /tests/cursor.test
parent7acca7516ab66ecbea898bbe3ab63c7f3ec7a030 (diff)
downloadtk-71ca9685bbb22a1987831ff214a05b647cbb4426.zip
tk-71ca9685bbb22a1987831ff214a05b647cbb4426.tar.gz
tk-71ca9685bbb22a1987831ff214a05b647cbb4426.tar.bz2
* tests/cursor.test: corrected error after cursor-2.2.
* tests/defs.tcl: Added enhancements to Tk's fake version of tcltest required by recent cursor.test changes.
Diffstat (limited to 'tests/cursor.test')
-rw-r--r--tests/cursor.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cursor.test b/tests/cursor.test
index 35a1d84..11e23aa 100644
--- a/tests/cursor.test
+++ b/tests/cursor.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: cursor.test,v 1.4 2002/06/13 09:46:39 dkf Exp $
+# RCS: @(#) $Id: cursor.test,v 1.5 2002/06/13 15:31:39 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -85,7 +85,7 @@ foreach wincur(num) $wincur(data_octal) {
append wincur(data_binary) [binary format c 0$wincur(num)]
}
set wincur(dir) [::tcltest::makeDirectory {dir with spaces}]
-set wincur(file) [::tcltest::makeFile $curdata "test file.cur" $wincur(dir)]
+set wincur(file) [::tcltest::makeFile $wincur(data_binary) "test file.cur" $wincur(dir)]
test cursor-2.3 {Tk_GetCursor procedure: cursor specs are lists} {pcOnly} {
destroy .b1
button .b1 -cursor [list @$wincur(file)]