Skip to content

Commit

Permalink
Fixes #128
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pgrange committed Aug 13, 2024
1 parent 1d30a77 commit 71dfa7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
TEST_PATTERN='```test'
OUTPUT_PATTERN='```output'
LANG=C.UTF-8
unset LC_ALL LANGUAGE

export STICK_TO_CWD=true
BASH_UNIT="eval FORCE_COLOR=false ./bash_unit"
Expand Down

0 comments on commit 71dfa7a

Please sign in to comment.