sapling/eden/scm/tests/test-unicode-inputs-t.py
Durham Goode 2fc16ce279 tests: fix test-unicode-inputs-t.py on Windows
Summary: This was broken by D26702166 (373d9ade0a).

Reviewed By: sfilipco

Differential Revision: D26736392

fbshipit-source-id: 8bae1599922c05193eba529d7f74c585f20d6f91
2021-03-01 22:23:14 -08:00

33 lines
668 B
Python

# coding=utf-8
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from __future__ import absolute_import
import os
from testutil.autofix import eq
from testutil.dott import feature, sh, testtmp # noqa: F401
sh % "setmodernconfig"
sh % "hg init repo"
sh % "cd repo"
sh % "echo xxx" > "file"
sh % "echo yyy" > "Æ"
sh % "hg add file"
sh % "hg add Æ"
sh % "hg commit -m 'Æ'"
sh % "hg log -v" == """
commit: * (glob)
user: test
date: Thu Jan 01 00:00:00 1970 +0000
files: file Æ
description:
Æ
"""