mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1791] [MERGED] tests: reject identical fenced blocks that are back to back in docs/ (OLD-9862) #1804
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1804
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1791
Author: @Ch1mpleo
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142
Base:
main← Head:carry/old-9862📝 Commits (2)
93d540edocs: drop the repeated manifest block in character_models, and test for it34739cftests: compare the fence's info string too, so two languages are not one duplicate📊 Changes
1 file changed (+138 additions, -0 deletions)
View changed files
➕
tests/test_docs_adjacent_fenced_blocks.py(+138 -0)📄 Description
Claimed in the coordination issue as: OLD-9862 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162072809)
What and why
Carries forward old-pr/9862 (draft #130, preserving the original commits by zwork and Salim Hammami) rebased onto current main. Adds ests/test_docs_adjacent_fenced_blocks.py to reject identical back-to-back fenced code blocks with the same info string in docs/.
Tested
GPUs tested: n/a (CPU-only standard-library unit test)
AI-assisted: yes
Checklist
eeds rebase).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.