Skip to content

Commit 2bd8d7b

Browse files
committed
conf/tests.rs: Rename test functions to follow path convention
Rename functions to follow the convention of being prefixed with the module path before the function name (e.g. `fn test_module_a_module_b_test_desc() {`) Signed-off-by: Manos Pitsidianakis <[email protected]>
1 parent a27a282 commit 2bd8d7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meli/src/conf/tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ server_password_command = "false"
109109
"#;
110110

111111
#[test]
112-
fn test_config_parse() {
112+
fn test_conf_config_parse() {
113113
let tempdir = tempfile::tempdir().unwrap();
114114
let new_file = ConfigFile::new(TEST_CONFIG, &tempdir).unwrap();
115115
let err = FileSettings::validate(new_file.path.clone(), true).unwrap_err();
@@ -159,7 +159,7 @@ fn test_config_parse() {
159159
}
160160

161161
#[test]
162-
fn test_theme_parsing() {
162+
fn test_conf_theme_parsing() {
163163
/* MUST SUCCEED: default themes should be valid */
164164
let def = Themes::default();
165165
def.validate().unwrap();
@@ -272,7 +272,7 @@ color_aliases= { "Jebediah" = "$JebediahJr", "JebediahJr" = "mail.listing.tag_de
272272
}
273273

274274
#[test]
275-
fn test_theme_key_values() {
275+
fn test_conf_theme_key_values() {
276276
use std::{collections::VecDeque, fs::File, io::Read, path::PathBuf};
277277
let mut rust_files: VecDeque<PathBuf> = VecDeque::new();
278278
let mut dirs_queue: VecDeque<PathBuf> = VecDeque::new();

0 commit comments

Comments
 (0)