Skip to content

Update Unit Testing Naming Scheme - #2032

Open
LukasBauza wants to merge 1 commit into
rust-lang:masterfrom
LukasBauza:patch-1
Open

LukasBauza wants to merge 1 commit into
rust-lang:masterfrom
LukasBauza:patch-1

Conversation

@LukasBauza

Copy link
Copy Markdown

From:
#[cfg(test)]
mod tests {
#[test]
fn test_foo() {
assert!(true);
}
}

To:
rust
#[cfg(test)]
mod tests {
#[test]
fn foo() {
assert!(true);
}
}

From:
#[cfg(test)]
mod tests {
    #[test]
    fn test_foo() {
        assert!(true);
    }
}

To:
rust
#[cfg(test)]
mod tests {
    #[test]
    fn foo() {
        assert!(true);
    }
}
@rustbot

rustbot commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project has assigned @marioidival (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks.

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @marioidival

@LukasBauza

LukasBauza commented Sep 13, 2026

Copy link
Copy Markdown
Author

Fixed #2031

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.

3 participants