summaryrefslogtreecommitdiff
path: root/tests/micropython/viper_binop_comp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/viper_binop_comp.py')
-rw-r--r--tests/micropython/viper_binop_comp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/micropython/viper_binop_comp.py b/tests/micropython/viper_binop_comp.py
index dcf91ed89..a4c0809c8 100644
--- a/tests/micropython/viper_binop_comp.py
+++ b/tests/micropython/viper_binop_comp.py
@@ -1,6 +1,6 @@
# test comparison operators
@micropython.viper
-def f(x:int, y:int):
+def f(x: int, y: int):
if x < y:
print(x, "<", y)
if x > y:
@@ -14,6 +14,7 @@ def f(x:int, y:int):
if x != y:
print(x, "!=", y)
+
f(1, 1)
f(2, 1)
f(1, 2)