diff options
author | dgp <dgp@users.sourceforge.net> | 2008-07-22 03:34:27 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-07-22 03:34:27 (GMT) |
commit | 11e9b5128e0797586e34379808405c6a08a805e0 (patch) | |
tree | adb8ead308f6faee04849f9f296829f00c03dee7 /tests/encoding.test | |
parent | 51f889efd45f85afd2c7840f0e2592c7bf95cc20 (diff) | |
download | tcl-11e9b5128e0797586e34379808405c6a08a805e0.zip tcl-11e9b5128e0797586e34379808405c6a08a805e0.tar.gz tcl-11e9b5128e0797586e34379808405c6a08a805e0.tar.bz2 |
* tests/encoding.test: Make failing tests pass again. [Bug 1972867]
Diffstat (limited to 'tests/encoding.test')
-rw-r--r-- | tests/encoding.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/encoding.test b/tests/encoding.test index a11f5cd..02dc07a 100644 --- a/tests/encoding.test +++ b/tests/encoding.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: encoding.test,v 1.27 2007/05/04 14:59:06 kennykb Exp $ +# RCS: @(#) $Id: encoding.test,v 1.27.4.1 2008/07/22 03:34:30 dgp Exp $ package require tcltest 2 @@ -69,6 +69,7 @@ test encoding-2.2 {Tcl_FreeEncoding: refcount != 0} {testencoding} { encoding dirs [list [pwd]] set x [encoding convertto shiftjis \u4e4e] ;# old one found encoding system identity + llength shiftjis lappend x [catch {encoding convertto shiftjis \u4e4e} msg] $msg encoding system identity encoding dirs $path @@ -222,6 +223,7 @@ test encoding-11.1 {LoadEncodingFile: unknown encoding} {testencoding} { set path [encoding dirs] encoding system iso8859-1 encoding dirs {} + llength jis0208 set x [list [catch {encoding convertto jis0208 \u4e4e} msg] $msg] encoding dirs $path encoding system $system |