summaryrefslogtreecommitdiff
path: root/src/map/magic-expr.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/magic-expr.py')
-rw-r--r--src/map/magic-expr.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/magic-expr.py b/src/map/magic-expr.py
index 865a175..0d9db55 100644
--- a/src/map/magic-expr.py
+++ b/src/map/magic-expr.py
@@ -31,6 +31,8 @@ class fun_t(object):
'''
tests = [
- ('static_cast<tmwa::magic::fun_t *>(nullptr)', '(fun_t *) nullptr'),
- ('new tmwa::magic::fun_t{"name"_s, "sig"_s, \'\\0\', nullptr}', '(fun_t *) = {->name = "name", ->signature = "sig", ->ret_ty = 0 \'\\000\', ->fun = 0x0}'),
+ ('static_cast<tmwa::magic::fun_t *>(nullptr)',
+ '(fun_t *) nullptr'),
+ ('new tmwa::magic::fun_t{"name"_s, "sig"_s, \'\\0\', nullptr}',
+ 'regex:\(fun_t \*\) = \{->name = "name", ->signature = "sig", ->ret_ty = 0 \'\\\\000\', ->fun = (0x)?0}'),
]