diff --git a/tests/e2e/template_instantiation_test.sh b/tests/e2e/template_instantiation_test.sh index f991d5d..bd5fcb3 100755 --- a/tests/e2e/template_instantiation_test.sh +++ b/tests/e2e/template_instantiation_test.sh @@ -112,6 +112,8 @@ replace_placeholder() { } # Replace in all text files +export TEST_REPO_NAME TEST_OWNER TEST_FORGE TEST_PROJECT_NAME \ + TEST_DESCRIPTION TEST_PRIMARY_LANGUAGE TEST_AUTHOR TEST_AUTHOR_EMAIL find "$TEST_REPO_PATH" -type f \ \( -name "*.md" -o -name "*.adoc" -o -name "*.a2ml" -o -name "*.zig" -o -name "*.idr" \ -o -name "Justfile" -o -name "Containerfile" -o -name "*.yml" -o -name "*.yaml" \ @@ -137,7 +139,7 @@ find "$TEST_REPO_PATH" -type f \ sed -i "s|$placeholder|$value|g" "$file" fi done - ' _ "$file" + ' _ {} \; log_pass "All placeholder tokens replaced"