Rename test modules to tests

… for consistency.
This commit is contained in:
Jonas Platte 2023-08-24 10:36:24 +02:00
parent 88cc7600b4
commit 73b6113819
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
4 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ pub mod v3 {
}
#[cfg(test)]
mod test {
mod tests {
use ruma_common::mxc_uri;
use serde_json::{from_value as from_json_value, json};

View File

@ -133,7 +133,7 @@ pub enum SecretName {
}
#[cfg(test)]
mod test {
mod tests {
use assert_matches2::assert_matches;
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};

View File

@ -313,7 +313,7 @@ impl SigningKeyUpdateContent {
}
#[cfg(test)]
mod test {
mod tests {
use assert_matches2::assert_matches;
use js_int::uint;
use ruma_common::{events::ToDeviceEventType, room_id, user_id};

View File

@ -28,7 +28,7 @@ pub enum IdentifierHashingAlgorithm {
}
#[cfg(test)]
mod test {
mod tests {
use super::IdentifierHashingAlgorithm;
#[test]