Open srasku opened 2 years ago
@srasku Ran across this and have an answer for you since I'd figured out heredocs in cram a while back.
$ cat /tmp/heredoc.t
Heredocs are supported, but you must still use cram's command continuation char (>):
$ cat >config <<-EOF
> [section]
> name=value
> EOF
$ cat config
[section]
name=value
$ cram /tmp/heredoc.t
.
# Ran 1 tests, 0 skipped, 0 failed.
This didn't work but maybe I setup something wrong.
I have version 0.7 installed via
pip