echor/test_script.sh
minhtrannhat 0eb51d851f
Fix(test): No more manual test setup
- Test setup now done automatically via `cargo test`. Testing fixtures
are automatically injected before tests.
2023-07-21 22:09:26 -04:00

10 lines
266 B
Bash
Executable File

#!/usr/bin/env bash
OUTDIR="tests/expected"
[[ ! -d "$OUTDIR" ]] && mkdir -p "$OUTDIR"
echo "Hello there" > $OUTDIR/hello1.txt
echo "Hello" "there" > $OUTDIR/hello2.txt
echo -n "Hello there" > $OUTDIR/hello1.n.txt
echo -n "Hello" "there" > $OUTDIR/hello2.n.txt