diff options
author | ferrieux <ferrieux@users.sourceforge.net> | 2008-11-23 00:47:25 (GMT) |
---|---|---|
committer | ferrieux <ferrieux@users.sourceforge.net> | 2008-11-23 00:47:25 (GMT) |
commit | eaf11f89f7e9fa53e805d3106d07b59a3a4f128a (patch) | |
tree | 14c30619e657c1a3a51fe8f6dfdcdf40978c0634 | |
parent | afa9a886e6d17f982d4e233934bb8adb2f24cf42 (diff) | |
download | tk-eaf11f89f7e9fa53e805d3106d07b59a3a4f128a.zip tk-eaf11f89f7e9fa53e805d3106d07b59a3a4f128a.tar.gz tk-eaf11f89f7e9fa53e805d3106d07b59a3a4f128a.tar.bz2 |
Re-fixed QWERTY/AZERTY sensitivity of key event generation test (thx to Pat Thoyts)
-rw-r--r-- | tests/bind.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/bind.test b/tests/bind.test index c0a3b44..7054289 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.23 2008/11/22 23:45:54 ferrieux Exp $ +# RCS: @(#) $Id: bind.test,v 1.24 2008/11/23 00:47:25 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-j> + event gen .t.f <Control-Key-space> set x } -cleanup { destroy .t.f -} -result {4 j} +} -result {4 space} test bind-22.11 {HandleEventGenerate} -setup { frame .t.f -class Test -width 150 -height 100 pack .t.f |