Skip to content

Commit

Permalink
Make test less fragile to changing set of options.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgp committed Mar 10, 2023
1 parent 5b0be62 commit 93bf87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/io.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93bf87e

Please sign in to comment.