summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/winConsole.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/winConsole.test b/tests/winConsole.test
index d008d5c..a9d9b09 100644
--- a/tests/winConsole.test
+++ b/tests/winConsole.test
@@ -187,7 +187,7 @@ test console-fconfigure-get-1.[incr testnum] {
test console-fconfigure-get-1.[incr testnum] {
fconfigure -winsize
-} -body {
+} -constraints win -body {
fconfigure stdin -winsize
} -result {bad option "-winsize": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, or -inputmode} -returnCodes error
@@ -221,9 +221,9 @@ foreach chan {stdout stderr} major {2 3} {
test console-fconfigure-get-$major.[incr testnum] {
fconfigure -inputmode
- } -body {
+ } -constraints win -body {
fconfigure $chan -inputmode
- } -result {bad option "-inputmode": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, or -winsize} -returnCodes error
+ } -result {bad option "-inputmode": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation} -returnCodes error
}
@@ -291,7 +291,7 @@ test console-fconfigure-set-1.2 {
test console-fconfigure-set-1.3 {
fconfigure stdin -winsize
-} -body {
+} -constraints win -body {
fconfigure stdin -winsize {10 30}
} -result {bad option "-winsize": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, or -inputmode} -returnCodes error