require 'test/minirunit' test_check "Test here document:" # Multiple Heredocs as arguments multiDoc = <<-STRING1, <<-STRING2 Concat STRING1 enate STRING2 test_equal([" Concat\n"," enate\n"], multiDoc) # Should retain extra newlines at end of heredocs str = <<-EOL blah-blah EOL test_equal("blah-blah\n\n\n",str) # - (indent) operation should result in same string # as non-indented version str1 = <