summaryrefslogtreecommitdiff
path: root/tests/micropython
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-15 13:43:49 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-15 13:44:39 +1000
commit9f2067288ac7413c4bb2b47d4f5c660fa0b23d5c (patch)
tree46aaffd1a856051962a8c7b4c2ffb98c1938fb97 /tests/micropython
parenta169a5848c43817683fa723b6412a80b41b19318 (diff)
py/compile: Factor code that compiles viper type annotations.
Diffstat (limited to 'tests/micropython')
-rw-r--r--tests/micropython/viper_error.py.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/micropython/viper_error.py.exp b/tests/micropython/viper_error.py.exp
index 3a8cb0299..66bcad1f7 100644
--- a/tests/micropython/viper_error.py.exp
+++ b/tests/micropython/viper_error.py.exp
@@ -1,5 +1,5 @@
-SyntaxError('parameter annotation must be an identifier',)
-SyntaxError('return annotation must be an identifier',)
+SyntaxError('annotation must be an identifier',)
+SyntaxError('annotation must be an identifier',)
ViperTypeError("unknown type 'unknown_type'",)
ViperTypeError("Viper functions don't currently support more than 4 arguments",)
ViperTypeError("local 'x' used before type known",)