Merge branch 'dn/test-reject-utf-16'
* dn/test-reject-utf-16: t3900: test rejecting log message with NULs correctly Add missing test file for UTF-16.
This commit is contained in:
commit
d6f3ab573e
@ -34,9 +34,9 @@ test_expect_success 'no encoding header for base case' '
|
||||
test z = "z$E"
|
||||
'
|
||||
|
||||
test_expect_failure 'UTF-16 refused because of NULs' '
|
||||
test_expect_success 'UTF-16 refused because of NULs' '
|
||||
echo UTF-16 >F &&
|
||||
git commit -a -F "$TEST_DIRECTORY"/t3900/UTF-16.txt
|
||||
test_must_fail git commit -a -F "$TEST_DIRECTORY"/t3900/UTF-16.txt
|
||||
'
|
||||
|
||||
test_expect_success 'UTF-8 invalid characters refused' '
|
||||
|
BIN
t/t3900/UTF-16.txt
Normal file
BIN
t/t3900/UTF-16.txt
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user