mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-08 07:08:44 +00:00
Merge pull request #79 from PR0M3TH3AN/codex/add-cfg(unix)-to-watch_start_and_stop_quickly-test
Limit watch test to unix
This commit is contained in:
@@ -8,8 +8,10 @@ use libmarlin::{self as marlin, db};
|
||||
use marlin_cli::cli::watch::WatchCmd;
|
||||
use marlin_cli::cli::{watch, Format};
|
||||
|
||||
#[cfg(unix)]
|
||||
#[test]
|
||||
fn watch_start_and_stop_quickly() {
|
||||
// TODO: Use a Windows console control handler and enable this test on Windows.
|
||||
let tmp = tempdir().unwrap();
|
||||
let db_path = tmp.path().join("index.db");
|
||||
std::env::set_var("MARLIN_DB_PATH", &db_path);
|
||||
|
Reference in New Issue
Block a user