Sha256: 9ccdad5042b3babdbf1808b9f02233861e10abf51ff08d7b01101e9efb10fc97

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

unknown_global_method:
  src: "system('echo date')"
  res: "Unknown method 'system(\"echo date\")'."

bad_argument_types:
  src: "strftime(34,'ffoo')"
  res: "Unknown method 'strftime(34, \"ffoo\")'."

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:
  src: "name + 14"
  res: "'var1.name' does not respond to '+(14)'."

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyless-0.2.0 test/RubyLess/errors.yml