Test for overlong runs of combining characters, GitHub issue 5434.

This commit is contained in:
Nicholas Marriott
2026-07-26 10:02:31 +01:00
parent 29bf7fe2f7
commit 0768795ce3
3 changed files with 40 additions and 0 deletions

View File

@@ -174,3 +174,17 @@ check_raw_matches()
fi
done
}
check_raw_no_matches()
{
name=$1
shift
capture_raw "$name" >"$TMP"
for unexpected in "$@"; do
if grep -Eq "$unexpected" "$TMP"; then
printf "%s\n" "$unexpected" >"$EXP"
fail "$name raw unexpected"
fi
done
}