Skip to content

Commit

Permalink
[#211] Specify language in a golden test
Browse files Browse the repository at this point in the history
Problem: We have a Golden test that expects an output in English
and fails if a different language is configured.

Solution: Configure explicitly the language before running the
corresponding test.
  • Loading branch information
aeqz committed Dec 13, 2022
1 parent e8d79e7 commit 7457a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/golden/check-git/check-git.bats
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ load '../helpers'
@test "Git: not a repo" {
cd $TEST_TEMP_DIR

export LANG=en_US
run xrefcheck

assert_output --partial "fatal: not a git repository"
Expand Down

0 comments on commit 7457a6b

Please sign in to comment.