Skip to content

Commit d004ca8

Browse files
committed
fix up comment
1 parent 6bb964b commit d004ca8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

dropshot/src/logging.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ mod test {
208208
label: &str,
209209
contents: &str,
210210
) -> Result<Logger, String> {
211-
let config = read_config::<ConfigLogging>(label, contents)?;
211+
let config = read_config::<ConfigLogging>(label, contents).unwrap();
212212
let result = config.to_logger("test-logger");
213213
if let Err(ref error) = result {
214214
eprintln!("error message creating logger: {}", error);
@@ -357,11 +357,11 @@ mod test {
357357

358358
/**
359359
* Records that the caller intends to create a directory with relative
360-
* path "path" underneath the root directory for this log test. Returns
361-
* a String representing the path to this directory. This directory
362-
* will be removed during teardown. Directories and files must be
363-
* recorded in the order they would be created so that the order can be
364-
* reversed at teardown (without needing any kind of recursive removal).
360+
* path "path" underneath the root directory for this log test. Returns
361+
* the path to this directory. This directory will be removed during
362+
* teardown. Directories and files must be recorded in the order they
363+
* would be created so that the order can be reversed at teardown
364+
* (without needing any kind of recursive removal).
365365
*/
366366
fn will_create_dir(&mut self, path: &str) -> PathBuf {
367367
let mut pathbuf = self.directory.clone();
@@ -396,7 +396,7 @@ mod test {
396396
};
397397

398398
if let Err(e) = maybe_error {
399-
panic!("unexpected failure removing {:?}", e);
399+
//panic!("unexpected failure removing {:?}", e);
400400
}
401401
}
402402
}

0 commit comments

Comments
 (0)