fork(2) download
  1. class AboutArrays < Neo::Koan
  2. def test_creating_arrays
  3. empty_array = Array.new
  4. assert_equal __, empty_array.class
  5. assert_equal __, empty_array.size
  6. end
Runtime error #stdin #stdout #stderr 0.05s 9608KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog.rb:6: syntax error, unexpected end-of-input, expecting keyword_end
  end
     ^