Skip to content

Commit

Permalink
test(samples): change string for utf8 translation (#48)
Browse files Browse the repository at this point in the history
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  πŸ¦•
  • Loading branch information
busunkim96 authored Aug 11, 2020
1 parent 37fc6ba commit a7c982c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_translate_text(capsys):


def test_translate_utf8(capsys):
text = u'λ‚˜λŠ” νŒŒμΈμ• ν”Œμ„ μ’‹μ•„ν•œλ‹€.'
text = u'νŒŒμΈμ• ν”Œ 13개'
snippets.translate_text('en', text)
out, _ = capsys.readouterr()
assert u'I like pineapple' in out
assert u'13 pineapples' in out

0 comments on commit a7c982c

Please sign in to comment.