Skip to content

Commit 29825a8

Browse files
committed
Merge branch 'kd/t0028-octal-del-is-377-not-777'
Test fix. * kd/t0028-octal-del-is-377-not-777: t0028: fix wrong octal values for BOM in setup
2 parents 18f9fb6 + 99e9ab5 commit 29825a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t0028-working-tree-encoding.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ test_expect_success 'setup test files' '
4949
# BOM tests
5050
printf "\0a\0b\0c" >nobom.utf16be.raw &&
5151
printf "a\0b\0c\0" >nobom.utf16le.raw &&
52-
printf "\376\777\0a\0b\0c" >bebom.utf16be.raw &&
53-
printf "\777\376a\0b\0c\0" >lebom.utf16le.raw &&
52+
printf "\376\377\0a\0b\0c" >bebom.utf16be.raw &&
53+
printf "\377\376a\0b\0c\0" >lebom.utf16le.raw &&
5454
printf "\0\0\0a\0\0\0b\0\0\0c" >nobom.utf32be.raw &&
5555
printf "a\0\0\0b\0\0\0c\0\0\0" >nobom.utf32le.raw &&
56-
printf "\0\0\376\777\0\0\0a\0\0\0b\0\0\0c" >bebom.utf32be.raw &&
57-
printf "\777\376\0\0a\0\0\0b\0\0\0c\0\0\0" >lebom.utf32le.raw &&
56+
printf "\0\0\376\377\0\0\0a\0\0\0b\0\0\0c" >bebom.utf32be.raw &&
57+
printf "\377\376\0\0a\0\0\0b\0\0\0c\0\0\0" >lebom.utf32le.raw &&
5858
5959
# Add only UTF-16 file, we will add the UTF-32 file later
6060
cp test.utf16.raw test.utf16 &&

0 commit comments

Comments
 (0)