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