diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/tests/install-lang.bats | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/tests/install-lang.bats b/scripts/tests/install-lang.bats index a26c3d5..a523186 100644 --- a/scripts/tests/install-lang.bats +++ b/scripts/tests/install-lang.bats @@ -57,3 +57,14 @@ teardown() { grep -qxF "*.elc" "$PROJECT/.gitignore" grep -qxF "*.eln" "$PROJECT/.gitignore" } + +@test "install-lang python: lands the coverage script in the gitignored footprint" { + run bash "$INSTALL_LANG" python "$PROJECT" + + [ "$status" -eq 0 ] + [ -f "$PROJECT/.claude/scripts/coverage-summary.py" ] + [ -f "$PROJECT/coverage-makefile.txt" ] + # The .claude footprint must be gitignored so the script isn't committed. + grep -qxF ".claude/" "$PROJECT/.gitignore" + grep -qxF "coverage.json" "$PROJECT/.gitignore" +} |
