aboutsummaryrefslogtreecommitdiffstats
path: root/tools/snippets_translate/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tools/snippets_translate/tests')
-rw-r--r--tools/snippets_translate/tests/test_converter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/snippets_translate/tests/test_converter.py b/tools/snippets_translate/tests/test_converter.py
index 70026b8d2..beab3ad09 100644
--- a/tools/snippets_translate/tests/test_converter.py
+++ b/tools/snippets_translate/tests/test_converter.py
@@ -36,8 +36,8 @@ def test_curly_braces():
def test_inc_dec():
- assert st("++i;") == "i = i + 1"
- assert st("i--;") == "i = i - 1"
+ assert st("++i;") == "i += 1"
+ assert st("i--;") == "i -= 1"
def test_and_or():