require 'minirunit'

test_check "Test here document:"
aString = <<END_OF_STRING
    The body of the string
    is the input lines up to
    one ending with the same
    text that followed the '<<'
END_OF_STRING

result = 
"    The body of the string
    is the input lines up to
    one ending with the same
    text that followed the '<<'
"
test_ok("    The body of the string
    is the input lines up to
    one ending with the same
    text that followed the '<<'
" ==  aString)

multiDoc = <<-STRING1, <<-STRING2
   Concat
   STRING1
      enate
      STRING2

test_ok(["   Concat\n","      enate\n"]  ==  multiDoc)
