Skip to content

Commit b666228

Browse files
busunkim96dandhlee
authored andcommitted
test(samples): change string for utf8 translation (#48)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-translate/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #46 🦕
1 parent f998ab1 commit b666228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

translation/samples/snippets/snippets_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_translate_text(capsys):
4343

4444

4545
def test_translate_utf8(capsys):
46-
text = u'나는 파인애플을 좋아한다.'
46+
text = u'파인애플 13개'
4747
snippets.translate_text('en', text)
4848
out, _ = capsys.readouterr()
49-
assert u'I like pineapple' in out
49+
assert u'13 pineapples' in out

0 commit comments

Comments
 (0)