summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unixInit.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test
index d0f83f3..681a931 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.test
@@ -333,7 +333,7 @@ test unixInit-3.1 {TclpSetInitialEncodings} -constraints {
puts $f {puts [encoding system]; exit}
set enc [gets $f]
close $f
- return $enc
+ set enc
} -cleanup {
unset -nocomplain env(LANG)
} -match regexp -result {^(iso8859-15?|utf-8)$}