Skip to content

Commit

Permalink
tests: remove dry_run test
Browse files Browse the repository at this point in the history
The maa core failed to exit, I have no idea why.
  • Loading branch information
wangl-cc committed Nov 27, 2023
1 parent 542113c commit 3f59b38
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions maa-cli/src/run/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -615,19 +615,6 @@ mod tests {

use super::*;

#[test]
fn dry_run() {
if env::var("MAA_CORE_INSTALLED").is_ok() {
let task = TaskConfig::new();
let args = CommonArgs {
batch: true,
dry_run: true,
..Default::default()
};
run(task, args).unwrap();
}
}

#[test]
fn run_version() {
if let Ok(version) = env::var("MAA_CORE_VERSION") {
Expand Down

0 comments on commit 3f59b38

Please sign in to comment.