diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cursor.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cursor.test b/tests/cursor.test index d5dabcf..e92c08f 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.16 2006/12/17 00:43:06 mdejong Exp $ +# RCS: @(#) $Id: cursor.test,v 1.17 2007/10/23 16:05:24 dgp Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -76,7 +76,7 @@ set wincur(data_octal) { } set wincur(data_binary) {} foreach wincur(num) $wincur(data_octal) { - append wincur(data_binary) [binary format c 0$wincur(num)] + append wincur(data_binary) [binary format c [scan $wincur(num) %o]] } set wincur(dir) [makeDirectory {dir with spaces}] set wincur(file) [makeFile $wincur(data_binary) "test file.cur" $wincur(dir)] |