From b88529b2f5c7184710ca00b133bccd5660daf989 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 11 Jul 2022 11:24:10 +0000 Subject: Add "win" constraints to tests/winConsole.test, and change one expected test-results on Windows --- tests/winConsole.test | 8 ++++---- 1 file 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 -- cgit v0.12