diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-13 02:30:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-15 10:06:21 +0900 |
| commit | 98cd02501c6622437ea348ef91f8cb38c2d1315e (patch) | |
| tree | 99d5348f240bf3b3d4bf5e518bcf2974bf8c32fd /tests/019.sh | |
| parent | a5ab4f4dfacd1938a64df4d07df346774f62c541 (diff) | |
| download | ducc-98cd02501c6622437ea348ef91f8cb38c2d1315e.tar.gz ducc-98cd02501c6622437ea348ef91f8cb38c2d1315e.tar.zst ducc-98cd02501c6622437ea348ef91f8cb38c2d1315e.zip | |
refactor: refactor tests
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() { |
