diff options
author | gcramer <remarcg@gmx.net> | 2018-12-30 17:27:08 (GMT) |
---|---|---|
committer | gcramer <remarcg@gmx.net> | 2018-12-30 17:27:08 (GMT) |
commit | a38ed176a81bf43df1aaeec6c647a42e16d67b90 (patch) | |
tree | a9a45b0c04701eb6981bdbe631d9ead20ac057ab /tests | |
parent | a6cf70af814aabf270732ebbafb7c25201cdf98c (diff) | |
download | tk-a38ed176a81bf43df1aaeec6c647a42e16d67b90.zip tk-a38ed176a81bf43df1aaeec6c647a42e16d67b90.tar.gz tk-a38ed176a81bf43df1aaeec6c647a42e16d67b90.tar.bz2 |
Test cases 32.10 and 32.15 improved.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bind.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bind.test b/tests/bind.test index 40ee4d5..e3dbae9 100644 --- a/tests/bind.test +++ b/tests/bind.test @@ -6252,6 +6252,7 @@ test bind-32.10 {reset key state when destroying window} -setup { pack [frame .t.f]; update; focus -force .t.f bind .t.f <Key-A> { set x "A" } event generate .t.f <KeyPress-A> + event generate .t.f <KeyPress-A> destroy .t.f; update pack [frame .t.f]; update; focus -force .t.f bind .t.f <Key-A> { set x "A" } @@ -6332,6 +6333,7 @@ test bind-32.15 {reset button state when destroying window} -setup { pack [frame .t.f]; update; focus -force .t.f bind .t.f <ButtonPress-1> { set x "1" } event generate .t.f <ButtonPress-1> + event generate .t.f <ButtonPress-1> destroy .t.f; update pack [frame .t.f]; update; focus -force .t.f bind .t.f <ButtonPress-1> { set x "1" } |