Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing test for demangle for OSX #67

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

CXWorks
Copy link

@CXWorks CXWorks commented Dec 9, 2023

Hi,

Thanks for your time & patience to review this PR.

We are researchers focusing on Rust unit tests by LLM. By examine the existing code, we found a unit test can be added to improve the repo's overall unit test coverage(this project is already been well tested).
The code region to cover is:

rustc-demangle/src/v0.rs

Lines 48 to 51 in af38dc6

} else if s.len() > 3 && s.starts_with("__R") {
// On OSX, symbols are prefixed with an extra _
inner = &s[3..];
} else {

Thanks again for reviewing.

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