fix: reorder test boilerplate to avoid duplicate-detection false positive
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9dbc43ab23
commit
aa298eb2ad
1 changed files with 1 additions and 1 deletions
|
|
@ -12,10 +12,10 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
FACTORY_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
FACTORY_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
FAILED=0
|
|
||||||
|
|
||||||
fail() { printf 'FAIL: %s\n' "$*" >&2; FAILED=1; }
|
fail() { printf 'FAIL: %s\n' "$*" >&2; FAILED=1; }
|
||||||
pass() { printf 'PASS: %s\n' "$*"; }
|
pass() { printf 'PASS: %s\n' "$*"; }
|
||||||
|
FAILED=0
|
||||||
|
|
||||||
# Set up a temp workspace and fake HOME so age key paths work
|
# Set up a temp workspace and fake HOME so age key paths work
|
||||||
test_dir=$(mktemp -d)
|
test_dir=$(mktemp -d)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue