From 222ad24dcd86634aaed57f1b07973b45beb27aad Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 28 Oct 2026 20:32:35 +0100 Subject: [PATCH] Say run.sh mutates only nodes wholly inside the changed lines --- mutation-tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutation-tests/run.sh b/mutation-tests/run.sh index b1f9b30..45cf963 100755 --- a/mutation-tests/run.sh +++ b/mutation-tests/run.sh @@ -4,7 +4,7 @@ cd "$(dirname "$0")/.." source ./docker-runner.sh base=$(git merge-base "${1:-origin/main}" HEAD) -# Each hunk's added lines as path:first-last, in the working tree's numbering; a hunk that only deletes has none to mutate. +# Each hunk's added lines as path:first-last, in the working tree's numbering; Stryker keeps a mutant only wholly inside one, so a hunk that only deletes has none. mutate=$(git diff --no-ext-diff --no-prefix -U0 --inter-hunk-context=0 --no-color "$base" -- 'src/*.ts' ':!src/*.test.ts' ':!src/conformance/property-harness.ts' | awk ' /^\+\+\+ / { path = $2 } /^@@ / {