test/RubyLess/errors.yml in rubyless-0.5.0 vs test/RubyLess/errors.yml in rubyless-0.6.0
- old
+ new
@@ -53,5 +53,25 @@
tem: "unknown method 'hash_args(\"name\"=>Number)' for RubyLessTest."
mixed_array:
src: "[3, '4']"
tem: 'Mixed Array not supported ([Number,String]).'
+
+hash_odd_keys_syntax_error:
+ src: '{text}'
+ tem: 'Syntax error'
+
+syntax_error:
+ src: "3 * / * 5"
+ tem: "/nterminated string meets end of file/"
+
+no_lasagna_in_rubyless:
+ src: "foo = system"
+ tem: "'lasgn' not available in RubyLess."
+
+call_on_class:
+ src: "Page.name"
+ tem: "unknown method 'name()' for 'Page' of type Class."
+
+unknown_constant:
+ src: "RubyLess"
+ tem: "Unknown constant 'RubyLess'."
\ No newline at end of file