diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-29 10:51:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-29 10:51:33 (GMT) |
commit | 956f84b517a1c8e95504556c441e3d5b105b2771 (patch) | |
tree | 9518df731a8194a0a9baccbd1720313b1a45a317 /tests/ttk/spinbox.test | |
parent | 51207189cfe8425541a9fd8eb18ca2aaf96b5e2e (diff) | |
download | tk-956f84b517a1c8e95504556c441e3d5b105b2771.zip tk-956f84b517a1c8e95504556c441e3d5b105b2771.tar.gz tk-956f84b517a1c8e95504556c441e3d5b105b2771.tar.bz2 |
Make test-cases work for UNIX/MacOS as well.
Diffstat (limited to 'tests/ttk/spinbox.test')
-rw-r--r-- | tests/ttk/spinbox.test | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/ttk/spinbox.test b/tests/ttk/spinbox.test index 4a22dfc..7c6b011 100644 --- a/tests/ttk/spinbox.test +++ b/tests/ttk/spinbox.test @@ -291,22 +291,15 @@ test spinbox-11.2 {Bugs [2a32225cd1] and [9fa3e08243]} -setup { destroy .s pack [ttk::spinbox .s] update - set res {} } -body { .s insert end "A sample text" .s icursor end event generate .s <<PrevWord>> ; # shall move insert to index 9 .s delete insert end - lappend res [.s get] - .s delete 0 end - .s insert end "A sample text" - .s icursor 2 - event generate .s <<NextWord>> ; # shall move insert to index 9 - .s delete 0 insert - lappend res [.s get] + .s get } -cleanup { destroy .s -} -result {{A sample } text} +} -result {A sample } # nostomp: NB intentional difference between ttk::spinbox and tk::spinbox; |