test/RubyLess/string.yml in rubyless-0.4.0 vs test/RubyLess/string.yml in rubyless-0.5.0

- old
+ new

@@ -7,5 +7,22 @@ tem: '"hello"' dynamic_string: str: 'one #{name} two' tem: '"one #{node.name} two"' + +concat_static: + src: "concat('hello ', 'World!')" + tem: '"hello World!"' + +gsub_static: + src: "'one.one'.gsub(/\\./,';')" + tem: '"one;one"' + +upcase_static: + src: "'one.one'.gsub(/\\./,';').upcase" + tem: '"ONE;ONE"' + +equal: + src: "str == 'str'" + tem: '(str=="str")' + res: 'true'