diff options
| author | Damien George <damien.p.george@gmail.com> | 2017-03-14 22:52:50 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2017-03-14 23:05:41 +1100 |
| commit | e29f704b6776ac9f7b95bb35d53d65948e995b38 (patch) | |
| tree | 32eb0243d580ac4c1232bba04515e80322554dd9 /tests/micropython/viper_error.py.exp | |
| parent | a5a84e1f85e795338d462a32632709d7b297d05c (diff) | |
tests/micropython/viper_error: Add more tests to improve coverage.
Diffstat (limited to 'tests/micropython/viper_error.py.exp')
| -rw-r--r-- | tests/micropython/viper_error.py.exp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/micropython/viper_error.py.exp b/tests/micropython/viper_error.py.exp index 1afcd4bdb..96be5a590 100644 --- a/tests/micropython/viper_error.py.exp +++ b/tests/micropython/viper_error.py.exp @@ -1,5 +1,7 @@ SyntaxError('parameter annotation must be an identifier',) SyntaxError('return 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",) ViperTypeError("local 'x' has type 'int' but source is 'object'",) ViperTypeError("can't implicitly convert 'ptr' to 'bool'",) @@ -9,7 +11,15 @@ ViperTypeError("can't load from 'int'",) ViperTypeError("can't load from 'int'",) ViperTypeError("can't store to 'int'",) ViperTypeError("can't store to 'int'",) +ViperTypeError("can't store to 'int'",) +ViperTypeError("can't store 'None'",) +ViperTypeError("can't store 'None'",) ViperTypeError('must raise an object',) ViperTypeError('unary op __pos__ not implemented',) ViperTypeError('unary op __neg__ not implemented',) ViperTypeError('unary op __invert__ not implemented',) +ViperTypeError('binary op __contains__ not implemented',) +NotImplementedError('native yield',) +NotImplementedError('native yield from',) +NotImplementedError('conversion to object',) +NotImplementedError('casting',) |
