diff options
Diffstat (limited to 'tests/019.sh')
| -rw-r--r-- | tests/019.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/019.sh b/tests/019.sh index d31f154..b776285 100644 --- a/tests/019.sh +++ b/tests/019.sh @@ -1,6 +1,7 @@ set -e -bash ../../test_output.sh "" <<'EOF' +touch expected +bash ../../test_diff.sh <<'EOF' int printf(); int main() { @@ -9,7 +10,10 @@ int main() { } EOF -bash ../../test_output.sh "Hello, World!" <<'EOF' +cat <<'EOF' > expected +Hello, World! +EOF +bash ../../test_diff.sh <<'EOF' int printf(); int main() { @@ -18,7 +22,10 @@ int main() { } EOF -bash ../../test_output.sh '"Hello, World!"' <<'EOF' +cat <<'EOF' > expected +"Hello, World!" +EOF +bash ../../test_diff.sh <<'EOF' int printf(); int main() { |
