Skip to content

Commit 03b0683

Browse files
committed
tests: disable some encoding tests on Windows
Some of these tests require being able to put non-UTF-8 encodings in environment variables, which is not allowed on Windows.
1 parent d48e662 commit 03b0683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t1305-repair-encodings.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ test_expect_success 'Check patch name is utf-8' '
3333
test "$(stg series --applied --noprefix)" = "äëñïö"
3434
'
3535

36-
test_expect_success 'Check show is utf-8' '
36+
test_expect_success !WINDOWS 'Check show is utf-8' '
3737
stg show | grep -e "Author: Áéí óú <[email protected]>"
3838
'
3939

40-
test_expect_success 'Check underlying commit is ISO8859-1' '
40+
test_expect_success !WINDOWS 'Check underlying commit is ISO8859-1' '
4141
git cat-file -p HEAD >"$HOME"/commit-data.txt &&
4242
cat "$HOME"/commit-data.txt |
4343
grep -e "^encoding ISO8859-1" &&

0 commit comments

Comments
 (0)