Skip to content

Commit 71dfa7a

Browse files
committed
Fixes #128
Doc tests need the locale to be set to C.UTF-8. We set it through LANG but also unset LC_ALL and LANGUAGE to avoid any conflict with these environement settings.
1 parent 1d30a77 commit 71dfa7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_doc.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
TEST_PATTERN='```test'
44
OUTPUT_PATTERN='```output'
55
LANG=C.UTF-8
6+
unset LC_ALL LANGUAGE
67

78
export STICK_TO_CWD=true
89
BASH_UNIT="eval FORCE_COLOR=false ./bash_unit"

0 commit comments

Comments
 (0)