Skip to content

Commit

Permalink
Use mod tests consistently
Browse files Browse the repository at this point in the history
Reviewed By: zertosh

Differential Revision: D53388301

fbshipit-source-id: 14cddf1116049d1cf8ad409cbeada813f0075901
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Feb 4, 2024
1 parent d92bb77 commit 44b9371
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion supertd/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn main(fb: FacebookInit) -> anyhow::Result<()> {
}

#[cfg(test)]
mod test {
mod tests {
use clap::Command;

use super::*;
Expand Down
2 changes: 1 addition & 1 deletion td_util/src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ pub fn parse_key_val(s: &str) -> anyhow::Result<(String, String)> {
}

#[cfg(test)]
mod test {
mod tests {
use std::io::Write;

use tempfile::NamedTempFile;
Expand Down
2 changes: 1 addition & 1 deletion td_util/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl InternString {
}

#[cfg(test)]
mod test {
mod tests {
use super::*;

#[test]
Expand Down

0 comments on commit 44b9371

Please sign in to comment.