Skip to content

Commit 9070913

Browse files
Dr-EmannFreaky
authored andcommitted
Get tests working
1 parent 878fce3 commit 9070913

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/folder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ impl Background for FolderScan {
244244
#[test]
245245
fn it_walks() {
246246
use crate::background::BackgroundHandle;
247-
use crate::settings::Config;
247+
use crate::config::Config;
248248

249249
let gs = Config::default().globset().unwrap();
250250
let scanner = FolderScan::new("C:\\Games", gs);

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#![windows_subsystem = "windows"]
1+
#![cfg_attr(not(test), windows_subsystem = "windows")]
2+
#![cfg_attr(test, windows_subsystem = "console")]
23
#![allow(non_snake_case)]
34

45
mod backend;

0 commit comments

Comments
 (0)