test: add AsciiDoc source-position regression - #1113
Merged
Conversation
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Jul 29, 2026
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [errata-ai/vale](https://github.com/errata-ai/vale) | patch | `v3.15.1` → `v3.15.2` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>errata-ai/vale (errata-ai/vale)</summary> ### [`v3.15.2`](https://github.com/vale-cli/vale/releases/tag/v3.15.2) [Compare Source](vale-cli/vale@v3.15.1...v3.15.2) > \[!TIP] > **Try [Vale CMS](https://cms.vale.sh)**: the hosted authoring layer for Vale. Build and maintain your style guide in the browser -- config, rules, vocabularies, dictionaries, filters, views, and templates -- with the real Vale engine linting live before you ship changes back to your repository. #### Changelog - [`94e2076`](vale-cli/vale@94e20763) test: cover style-local action script lookup - [`f34c494`](vale-cli/vale@f34c494f) fix: allow action scripts to be found inside the style directory ([#​1121](vale-cli/vale#1121)) - [`ab0ad9e`](vale-cli/vale@ab0ad9e8) test: add AsciiDoc source-position regression ([#​1113](vale-cli/vale#1113)) - [`778a44f`](vale-cli/vale@778a44f6) fix: preserve AsciiDoc heading scopes with anchors and xrefs - [`378f704`](vale-cli/vale@378f704c) fix: preserve source whitespace around inline markup ([#​1111](vale-cli/vale#1111), [#​1119](https://github.com/errata-ai/vale/issues/1119)) - [`24e9634`](vale-cli/vale@24e9634b) fix: parse condition-less affix rules; floor compound segment length ([#​776](vale-cli/vale#776)) - [`e5c4672`](vale-cli/vale@e5c46728) fix: guard against negative span in AddAlert ([#​808](vale-cli/vale#808)) - [`f1cbd5f`](vale-cli/vale@f1cbd5f0) feat: recognize affix-flag compound words ([#​848](vale-cli/vale#848)) - [`1cde8bf`](vale-cli/vale@1cde8bfe) fix: position scope:raw matches by byte offset, not search ([#​869](vale-cli/vale#869)) - [`d27f93a`](vale-cli/vale@d27f93a1) feat: skip display math ($$…$$) when linting Markdown ([#​878](vale-cli/vale#878)) - [`08107df`](vale-cli/vale@08107df4) fix: position repeated tokens correctly in assignLoc ([#​892](vale-cli/vale#892)) - [`23af9bd`](vale-cli/vale@23af9bd5) fix: handle broken symlinks gracefully during walks ([#​919](vale-cli/vale#919), [#​968](vale-cli/vale#968)) - [`4729abb`](vale-cli/vale@4729abb0) fix: name the offending path in symlink-resolution errors ([#​968](vale-cli/vale#968)) - [`42048e0`](vale-cli/vale@42048e04) fix: don't rename a local package's .vale.ini during sync ([#​991](vale-cli/vale#991)) - [`f887695`](vale-cli/vale@f8876958) fix: locate punctuation-only matches within their block ([#​994](vale-cli/vale#994)) - [`e200b60`](vale-cli/vale@e200b602) fix: surface a concise MDX parse error instead of a Node trace ([#​995](vale-cli/vale#995)) - [`ecdec34`](vale-cli/vale@ecdec347) feat: re-case regex vocab terms in Vale.Terms output ([#​997](vale-cli/vale#997)) - [`f19f7bd`](vale-cli/vale@f19f7bd6) fix: honor inline vale off/on spans ([#​1001](vale-cli/vale#1001)) - [`4c69948`](vale-cli/vale@4c699488) fix: locate quote-normalized matches in smart-quote source ([#​1003](vale-cli/vale#1003)) - [`af6b537`](vale-cli/vale@af6b537b) fix: don't abort dictionary search on a failed readlink ([#​1014](vale-cli/vale#1014)) - [`09a81d0`](vale-cli/vale@09a81d02) fix: make missing-Vocab error show the searched paths ([#​1015](vale-cli/vale#1015)) - [`480061b`](vale-cli/vale@480061b4) fix: allow array document roots in Views ([#​1017](vale-cli/vale#1017)) - [`5089175`](vale-cli/vale@50891758) fix: don't leak line comments into a following block comment ([#​1020](vale-cli/vale#1020)) - [`edf327b`](vale-cli/vale@edf327ba) fix: keep words apart across skipped inline scopes ([#​1052](vale-cli/vale#1052)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNzUuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI3NS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6cGF0Y2giXX0=-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #1112.
Tests
go test ./internal/core ./internal/lint ./internal/check ./internal/nlp ./internal/glob ./cmd/valego build -o bin/vale ./cmd/vale(cd testdata && PATH="../bin:$PATH" cucumber --format progress --publish-quiet features/lint.feature:118)(cd testdata/fixtures/formats/adoc && ../../../../bin/vale --output=line --sort --normalize --relative --no-global test4.adoc)(expected exit status 1)