mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00:00
32 lines
334 B
Bash
Executable File
32 lines
334 B
Bash
Executable File
#!/usr/bin/env bash
|
|
cd "${0%/*}" || exit 1
|
|
. ../run-tests
|
|
|
|
multilineData=$'line 1\nline 2'
|
|
template() {
|
|
cat <<EOF
|
|
Partial:
|
|
|
|
{{> fixtures/multi-line-partial.partial}}
|
|
|
|
Indented:
|
|
|
|
{{> fixtures/multi-line-partial.partial}}
|
|
EOF
|
|
}
|
|
expected() {
|
|
cat <<EOF
|
|
Partial:
|
|
|
|
line 1
|
|
line 2
|
|
|
|
Indented:
|
|
|
|
line 1
|
|
line 2
|
|
EOF
|
|
}
|
|
|
|
runTest
|