diff options
author | hobbs <hobbs> | 2000-03-07 22:27:44 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-03-07 22:27:44 (GMT) |
commit | 46c246b94240ad0b0015045bc5fe5bddf4b435bf (patch) | |
tree | f847df1363ba4515bc34a2ba911b1ed21dbb32c7 /tests | |
parent | 475f34e019d0bc29f1769524e48650375235abf4 (diff) | |
download | tk-46c246b94240ad0b0015045bc5fe5bddf4b435bf.zip tk-46c246b94240ad0b0015045bc5fe5bddf4b435bf.tar.gz tk-46c246b94240ad0b0015045bc5fe5bddf4b435bf.tar.bz2 |
* tests/entry.test:
* generic/tkEntry.c (EntrySetValue): malloc the value when
validating because validation could cause the pointer to become
invalid. Also fixed configure to not trigger focus-based
validation. Improved use of Tcl_WrongNumArgs. [Bug: 4320]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/entry.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/entry.test b/tests/entry.test index f90e5b4..f8fd7ef 100644 --- a/tests/entry.test +++ b/tests/entry.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: entry.test,v 1.6 2000/03/02 21:52:26 hobbs Exp $ +# RCS: @(#) $Id: entry.test,v 1.7 2000/03/07 22:27:50 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { source [file join [pwd] [file dirname [info script]] defs.tcl] @@ -338,7 +338,7 @@ test entry-3.46 {EntryWidgetCmd procedure, "scan" widget command} {fonts} { } {2} test entry-3.47 {EntryWidgetCmd procedure, "select" widget command} { list [catch {.e select} msg] $msg -} {1 {wrong # args: should be ".e select option ?index?"}} +} {1 {wrong # args: should be ".e selection option ?index?"}} test entry-3.48 {EntryWidgetCmd procedure, "select" widget command} { list [catch {.e select foo} msg] $msg } {1 {bad selection option "foo": must be adjust, clear, from, present, range, or to}} |