diff options
author | dgp <dgp@users.sourceforge.net> | 2023-03-10 13:32:47 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2023-03-10 13:32:47 (GMT) |
commit | 93bf87ed859e04b2fc9b197239ad6838e761e85d (patch) | |
tree | 2167e7448074ea2095e181145cb1e5f0589cff76 /tests | |
parent | 5b0be625362e6884c5276718ba911a3d292cf1c1 (diff) | |
download | tcl-93bf87ed859e04b2fc9b197239ad6838e761e85d.zip tcl-93bf87ed859e04b2fc9b197239ad6838e761e85d.tar.gz tcl-93bf87ed859e04b2fc9b197239ad6838e761e85d.tar.bz2 |
Make test less fragile to changing set of options.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/io.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test index 6d556da..181d028 100644 --- a/tests/io.test +++ b/tests/io.test @@ -5620,7 +5620,7 @@ test io-39.16a {Tcl_SetChannelOption: -encoding (invalid shortening to "-e"), er fconfigure $f -e foobar } -cleanup { close $f -} -returnCodes 1 -result {bad option "-e": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation} +} -returnCodes 1 -match glob -result {bad option "-e": should be one of *} test io-39.17 {Tcl_SetChannelOption: -encoding, clearing CHANNEL_NEED_MORE_DATA} {stdio fileevent} { set f [open "|[list [interpreter] $path(cat)]" r+] fconfigure $f -encoding binary |