test/RubyLess/errors.yml in rubyless-0.3.2 vs test/RubyLess/errors.yml in rubyless-0.3.3
- old
+ new
@@ -8,11 +8,11 @@
zero_div:
src: "1/(id-10)"
tem: "(1/(var1.zip-10) rescue nil)"
res: ""
-
+
looping:
src: "while(true) do puts 'flood' end"
res: 'Bug! Unknown node-type :while to RubyLess::RubyLessProcessor'
add_two_strings:
@@ -27,6 +27,10 @@
src: "dictionary[43]"
res: "'get_dict' does not respond to '[](Number)'."
string_argument:
src: "dictionary[spouse.name]"
- res: "'get_dict' does not respond to '[](String)'."
+ res: "'get_dict' does not respond to '[](String)'."
+
+symbol_type_not_used_out_of_helper:
+ src: "node.foo"
+ res: "'var1' does not respond to 'foo()'."
\ No newline at end of file