镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Introduce copious amounts of TextBuffer tests - #980

Merged
Leonard Hecker (lhecker) merged 2 commits into
mainfrom
dev/lhecker/textbuffer-tests
Oct 6, 2026
Merged

Leonard Hecker (lhecker) merged 2 commits into
mainfrom
dev/lhecker/textbuffer-tests

Conversation

@lhecker

@lhecker Leonard Hecker (lhecker) commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Tests for commit 6118429.

}
}

#[track_caller]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing based only on the name that this fixes one of my lease favorite parts of many C++ test frameworks: the check helper function being blamed for the failure.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. It causes the caller context to be blamed for the assertion failure.

@lhecker
Leonard Hecker (lhecker) enabled auto-merge (squash) October 6, 2026 21:24
@lhecker
Leonard Hecker (lhecker) enabled auto-merge (squash) October 6, 2026 21:24
@lhecker
Leonard Hecker (lhecker) merged commit cc1b35e into main Oct 6, 2026
6 checks passed
@lhecker
Leonard Hecker (lhecker) deleted the dev/lhecker/textbuffer-tests branch October 6, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants