diff options
author | culler <culler> | 2017-11-28 14:08:38 (GMT) |
---|---|---|
committer | culler <culler> | 2017-11-28 14:08:38 (GMT) |
commit | a39f501d79c524995811455bd9a8b41e9f40b807 (patch) | |
tree | 2114eb260e6b59c5c55e3bf03796f01e91705880 /tests | |
parent | 29dab7c972526c49ff9bb2e6b756ccd536678fe9 (diff) | |
download | tk-a39f501d79c524995811455bd9a8b41e9f40b807.zip tk-a39f501d79c524995811455bd9a8b41e9f40b807.tar.gz tk-a39f501d79c524995811455bd9a8b41e9f40b807.tar.bz2 |
Use -1 instead of 0 as the invalid keycode in test bind-13.14 since 0 is
a valid keycode (for lowercase a) on a Macintosh.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bind.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bind.test b/tests/bind.test index 892ba36..03b9cb1 100644 --- a/tests/bind.test +++ b/tests/bind.test @@ -648,8 +648,8 @@ test bind-13.14 {Tk_BindEvent procedure: invalid key detail} -setup { } -body { bind .t.f <Key> "lappend x Key%K" bind .t.f <KeyRelease> "lappend x Release%K" - event generate .t.f <Key> -keycode 0 - event generate .t.f <KeyRelease> -keycode 0 + event generate .t.f <Key> -keycode -1 + event generate .t.f <KeyRelease> -keycode -1 return $x } -cleanup { destroy .t.f |