test/RubyLess/errors.yml in rubyless-0.1.0 vs test/RubyLess/errors.yml in rubyless-0.2.0
- old
+ new
@@ -9,8 +9,12 @@
zero_div:
src: "1/(id-10)"
tem: "(1/(var1.zip-10) rescue nil)"
res: ""
-no_looping:
+looping:
src: "while(true) do puts 'flood' end"
- res: 'Bug! Unknown node-type :while to RubyLess::RubyLessProcessor'
\ No newline at end of file
+ res: 'Bug! Unknown node-type :while to RubyLess::RubyLessProcessor'
+
+add_two_strings:
+ src: "name + 14"
+ res: "'var1.name' does not respond to '+(14)'."