Skip to content

Commit d6f3ab5

Browse files
committed
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.
2 parents c8abf65 + 0ed45a1 commit d6f3ab5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/t3900-i18n-commit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ test_expect_success 'no encoding header for base case' '
3434
test z = "z$E"
3535
'
3636

37-
test_expect_failure 'UTF-16 refused because of NULs' '
37+
test_expect_success 'UTF-16 refused because of NULs' '
3838
echo UTF-16 >F &&
39-
git commit -a -F "$TEST_DIRECTORY"/t3900/UTF-16.txt
39+
test_must_fail git commit -a -F "$TEST_DIRECTORY"/t3900/UTF-16.txt
4040
'
4141

4242
test_expect_success 'UTF-8 invalid characters refused' '

t/t3900/UTF-16.txt

146 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)