view tests/latin-1-encoding @ 1095:60a82693d43c

tests: fix bad (re) match It seems fffe8883960b incorrectly did a match on the second parent (which is null) and that core Mercurial mistakenly matched the whole line with (re). This was recently fixed in 6d5718e39657 in core, so let's update the test with the correct match.
author Sean Farley <sean@farley.io>
date Thu, 30 Nov 2017 14:49:06 -0800
parents 24d4741674a6
children
line wrap: on
line source

# -*- coding: latin-1 -*-

# this file contains some latin-1 messages for test-encoding

GIT_AUTHOR_NAME='t�st �nc�d�ng'; export GIT_AUTHOR_NAME
echo beta > beta
git add beta
fn_git_commit -m 'add beta'

echo gamma > gamma
git add gamma
fn_git_commit -m 'add g�mm�'

# test the commit encoding field
git config i18n.commitencoding latin-1
echo delta > delta
git add delta
fn_git_commit -m 'add d�lt�'