Skip to content

Commit

Permalink
Fix logging in testing suite
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjia0112 committed Dec 11, 2018
1 parent 3fbde41 commit 7396d89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,12 @@ fn read_in_file(path: String) -> std::io::Result<String> {
mod tests {
use super::*;

fn init_logger() {
pretty_env_logger::init();
info!("Initialized logger for testing suite.");
assert!(true);
}

#[test]
fn test_read_in_file() {
assert_eq!(
Expand Down

0 comments on commit 7396d89

Please sign in to comment.