diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-10-24 23:29:38 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-10-24 23:29:38 +0200 |
commit | a97d734d8b11d581bf35879c335b553f9937282b (patch) | |
tree | 7d40a58bcf7a39601c030b0c2cce17e23e0ea9b9 /tests/scripts | |
parent | 1cace5588a5473de8062f89bca89fe2069574c8c (diff) | |
download | weechat-a97d734d8b11d581bf35879c335b553f9937282b.zip |
tests: fix Ruby strings
Diffstat (limited to 'tests/scripts')
-rwxr-xr-x | tests/scripts/python/unparse.py | 4 |
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): """ |