Skip to content

test: add AsciiDoc source-position regression - #1113

Merged
jdkato merged 1 commit into
vale-cli:v3from
cyphercodes:fix/adoc-source-position-1112
Jul 23, 2026
Merged

test: add AsciiDoc source-position regression#1113
jdkato merged 1 commit into
vale-cli:v3from
cyphercodes:fix/adoc-source-position-1112

Conversation

@cyphercodes

@cyphercodes cyphercodes commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Refs #1112.

Tests

  • go test ./internal/core ./internal/lint ./internal/check ./internal/nlp ./internal/glob ./cmd/vale
  • go 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)
@jdkato
jdkato merged commit ab0ad9e into vale-cli:v3 Jul 23, 2026
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 ([#&#8203;1121](vale-cli/vale#1121))
- [`ab0ad9e`](vale-cli/vale@ab0ad9e8) test: add AsciiDoc source-position regression ([#&#8203;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 ([#&#8203;1111](vale-cli/vale#1111), [#&#8203;1119](https://github.com/errata-ai/vale/issues/1119))
- [`24e9634`](vale-cli/vale@24e9634b) fix: parse condition-less affix rules; floor compound segment length ([#&#8203;776](vale-cli/vale#776))
- [`e5c4672`](vale-cli/vale@e5c46728) fix: guard against negative span in AddAlert ([#&#8203;808](vale-cli/vale#808))
- [`f1cbd5f`](vale-cli/vale@f1cbd5f0) feat: recognize affix-flag compound words ([#&#8203;848](vale-cli/vale#848))
- [`1cde8bf`](vale-cli/vale@1cde8bfe) fix: position scope:raw matches by byte offset, not search ([#&#8203;869](vale-cli/vale#869))
- [`d27f93a`](vale-cli/vale@d27f93a1) feat: skip display math ($$…$$) when linting Markdown ([#&#8203;878](vale-cli/vale#878))
- [`08107df`](vale-cli/vale@08107df4) fix: position repeated tokens correctly in assignLoc ([#&#8203;892](vale-cli/vale#892))
- [`23af9bd`](vale-cli/vale@23af9bd5) fix: handle broken symlinks gracefully during walks ([#&#8203;919](vale-cli/vale#919), [#&#8203;968](vale-cli/vale#968))
- [`4729abb`](vale-cli/vale@4729abb0) fix: name the offending path in symlink-resolution errors ([#&#8203;968](vale-cli/vale#968))
- [`42048e0`](vale-cli/vale@42048e04) fix: don't rename a local package's .vale.ini during sync ([#&#8203;991](vale-cli/vale#991))
- [`f887695`](vale-cli/vale@f8876958) fix: locate punctuation-only matches within their block ([#&#8203;994](vale-cli/vale#994))
- [`e200b60`](vale-cli/vale@e200b602) fix: surface a concise MDX parse error instead of a Node trace ([#&#8203;995](vale-cli/vale#995))
- [`ecdec34`](vale-cli/vale@ecdec347) feat: re-case regex vocab terms in Vale.Terms output ([#&#8203;997](vale-cli/vale#997))
- [`f19f7bd`](vale-cli/vale@f19f7bd6) fix: honor inline vale off/on spans ([#&#8203;1001](vale-cli/vale#1001))
- [`4c69948`](vale-cli/vale@4c699488) fix: locate quote-normalized matches in smart-quote source ([#&#8203;1003](vale-cli/vale#1003))
- [`af6b537`](vale-cli/vale@af6b537b) fix: don't abort dictionary search on a failed readlink ([#&#8203;1014](vale-cli/vale#1014))
- [`09a81d0`](vale-cli/vale@09a81d02) fix: make missing-Vocab error show the searched paths ([#&#8203;1015](vale-cli/vale#1015))
- [`480061b`](vale-cli/vale@480061b4) fix: allow array document roots in Views ([#&#8203;1017](vale-cli/vale#1017))
- [`5089175`](vale-cli/vale@50891758) fix: don't leak line comments into a following block comment ([#&#8203;1020](vale-cli/vale#1020))
- [`edf327b`](vale-cli/vale@edf327ba) fix: keep words apart across skipped inline scopes ([#&#8203;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=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants