Skip to content

Commit

Permalink
test-import-git: update test to match latest logic
Browse files Browse the repository at this point in the history
Summary:
The new behavior seems better - no extra space between name and email.

  In [1]: b'\xc3\xab'.decode()
  Out[1]: 'ë'

Reviewed By: zzl0

Differential Revision: D64990478

fbshipit-source-id: c97ae0a0f8c19854a1f4292daf001d6105161fc7
  • Loading branch information
quark-zju authored and facebook-github-bot committed Oct 25, 2024
1 parent 4a65ab6 commit 67662be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eden/scm/tests/test-import-git.t
Original file line number Diff line number Diff line change
Expand Up @@ -833,10 +833,9 @@ Test email metadata
> +a
> EOF
applying patch from stdin
Python 3 email parser is slightly different - it inserts a space in "user".
$ hg --encoding utf-8 log -r .
commit: * (glob)
user: Rapha\xc3\xabl Hertzog <hertzog@debian.org> (esc)
user: Raphaël Hertzog <hertzog@debian.org>
date: * (glob)
summary: \xc5\xa7\xe2\x82\xac\xc3\x9f\xe1\xb9\xaa (esc)

Expand Down

0 comments on commit 67662be

Please sign in to comment.