summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-10-24 23:29:38 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-10-24 23:29:38 +0200
commita97d734d8b11d581bf35879c335b553f9937282b (patch)
tree7d40a58bcf7a39601c030b0c2cce17e23e0ea9b9 /tests/scripts
parent1cace5588a5473de8062f89bca89fe2069574c8c (diff)
downloadweechat-a97d734d8b11d581bf35879c335b553f9937282b.zip
tests: fix Ruby strings
Diffstat (limited to 'tests/scripts')
-rwxr-xr-xtests/scripts/python/unparse.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/scripts/python/unparse.py b/tests/scripts/python/unparse.py
index a1e308384..2c89bb73a 100755
--- a/tests/scripts/python/unparse.py
+++ b/tests/scripts/python/unparse.py
@@ -540,6 +540,10 @@ class UnparseRuby(UnparsePython):
"""Add an AST Pass in output."""
pass
+ def _ast_str(self, node):
+ """Add an AST Str in output."""
+ self.add('"%s"' % node.s)
+
class UnparseLua(UnparsePython):
"""