summaryrefslogtreecommitdiffstats
path: root/tests/bind.test
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2008-11-22 23:45:54 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2008-11-22 23:45:54 (GMT)
commitafa9a886e6d17f982d4e233934bb8adb2f24cf42 (patch)
tree4167976f9accc4052ce0c37387717386e91acd9f /tests/bind.test
parent8fcba45ec4abb045c9af5402a76955dffe8df7e1 (diff)
downloadtk-afa9a886e6d17f982d4e233934bb8adb2f24cf42.zip
tk-afa9a886e6d17f982d4e233934bb8adb2f24cf42.tar.gz
tk-afa9a886e6d17f982d4e233934bb8adb2f24cf42.tar.bz2
Fixed QWERTY/AZERTY sensitivity of key event generation test
Diffstat (limited to 'tests/bind.test')
-rw-r--r--tests/bind.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bind.test b/tests/bind.test
index 811b014..c0a3b44 100644
--- a/tests/bind.test
+++ b/tests/bind.test
@@ -7,7 +7,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: bind.test,v 1.22 2008/07/25 23:47:15 aniap Exp $
+# RCS: @(#) $Id: bind.test,v 1.23 2008/11/22 23:45:54 ferrieux Exp $
package require tcltest 2.2
namespace import ::tcltest::*
@@ -3069,11 +3069,11 @@ test bind-22.10 {HandleEventGenerate} -setup {
set x {}
} -body {
bind .t.f <Key> {set x "%s %K"}
- event gen .t.f <Control-Key-1>
+ event gen .t.f <Control-Key-j>
set x
} -cleanup {
destroy .t.f
-} -result {4 1}
+} -result {4 j}
test bind-22.11 {HandleEventGenerate} -setup {
frame .t.f -class Test -width 150 -height 100
pack .t.f