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:
Junio C Hamano 2013-08-05 10:11:10 -07:00
commit d6f3ab573e
2 changed files with 2 additions and 2 deletions

View File

@ -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

Binary file not shown.