Skip to content

Commit 175c333

Browse files
committed
fix: just remove logs in tests
1 parent 77854c0 commit 175c333

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

rar-common/src/database/structs.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ where
3535
D: Deserializer<'de>,
3636
{
3737
let opt: Option<Rc<RefCell<Opt>>> = Option::deserialize(deserializer)?;
38-
//debug!("sconfig_opt {:?}", opt);
3938
if let Some(opt) = opt {
4039
opt.as_ref().borrow_mut().level = Level::Global;
4140
Ok(Some(opt))
@@ -690,7 +689,6 @@ mod tests {
690689

691690
#[test]
692691
fn test_deserialize() {
693-
debug!("START");
694692
let config = r#"
695693
{
696694
"options": {
@@ -756,7 +754,6 @@ mod tests {
756754
]
757755
}
758756
"#;
759-
debug!("STEP 1");
760757
let config: SConfig = serde_json::from_str(config).unwrap();
761758
let options = config.options.as_ref().unwrap().as_ref().borrow();
762759
let path = options.path.as_ref().unwrap();
@@ -1161,8 +1158,7 @@ mod tests {
11611158
.build()
11621159
})
11631160
.build();
1164-
let config = serde_json::to_string_pretty(&config).unwrap();
1165-
debug!("{}", config);
1161+
serde_json::to_string_pretty(&config).unwrap();
11661162
}
11671163

11681164
#[test]

0 commit comments

Comments
 (0)