]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0028-working-tree-encoding.sh
t0028: add more tests
authorAlexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
Tue, 24 Sep 2019 10:40:30 +0000 (03:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Sep 2019 04:49:58 +0000 (13:49 +0900)
commitd928a8388a237bdaab66b61edda40d25aa08af5f
treea782b346f12fc53fa5d10add72957af431d575ee
parent0b63fd6965350fd0159f7712b3582ba83cbfca25
t0028: add more tests

After I discovered that UTF-16-LE-BOM test was buggy, I decided that
better tests are required. Possibly the best option here is to compare
git results against hardcoded ground truth.

The new tests also cover more interesting chars where (ANSI != UTF-8).

Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
Reviewed-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0028-working-tree-encoding.sh