Sha256: 019ee8d90a49067ef01a71fc8843b01af5896a1ccaf80780a5ac74c8c44d85cd
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 KB
Contents
unknown_global_method: src: "system('echo date')" res: "(RubyLessTest): unknown method 'system(String)'." bad_argument_types: src: "strftime(34,'ffoo')" res: "(RubyLessTest): unknown method 'strftime(Number, String)'." zero_div: src: "1/(id-10)" tem: "(1/(node.zip-10) rescue nil)" res: "" looping: src: "while(true) do puts 'flood' end" res: "'while' not available in RubyLess." add_two_strings: src: "name + 14" res: "node.name (String): unknown method '+(Number)'." two_arguments_in_hash: src: "dictionary[:one, :two]" res: "get_dict (StringDictionary): unknown method '[](Symbol, Symbol)'." number_argument: src: "dictionary[43]" res: "get_dict (StringDictionary): unknown method '[](Number)'." string_argument: src: "dictionary[spouse.name]" res: "get_dict (StringDictionary): unknown method '[](String)'." symbol_type_not_used_out_of_helper: src: "node.foo" tem: "node (Dummy): unknown method 'foo()'." optional_arguments_with_dynamic_string: src: "spouse.width(\"nice#{spouse.name}\" => 'pv')" tem: "Invalid key type for hash (should be a literal value, was :dstr)" optional_arguments_bad_type: src: "width(:mode => 12)" res: "(RubyLessTest): unknown method 'width(:mode=>Number)'." optional_arguments_bad_argument: src: "width(:xyz => 'pv')" res: "(RubyLessTest): unknown method 'width(:xyz=>String)'."
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubyless-0.4.0 | test/RubyLess/errors.yml |