Skip to content

Commit

Permalink
Add missing test file for UTF-16.
Browse files Browse the repository at this point in the history
The test file that the UTF-16 rejection test looks for is missing, but this went
unnoticed because the test is expected to fail anyway; as a consequence, the
test fails because the file containing the commit message is missing, and not
because the test file contains a NUL byte.  Fix this by including a sample text
file containing a commit message encoded in UTF-16.

Signed-off-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Tested-by: Duy Nguyen <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brian M. Carlson authored and Junio C Hamano committed Aug 5, 2013
1 parent 37576c1 commit 214a5f2
Showing 1 changed file with 0 additions and 0 deletions.
Binary file added t/t3900/UTF-16.txt
Binary file not shown.

0 comments on commit 214a5f2

Please sign in to comment.