Skip to content

Commit

Permalink
test: fix env var name and logic in version test
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc committed Sep 5, 2024
1 parent 7a820d9 commit 8c1a129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maa-cli/src/run/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ mod tests {
#[test]
#[ignore = "need installed MaaCore"]
fn version() {
if env::var_os("SKIP_VERSION_TEST").is_none() {
if env::var_os("SKIP_CORE_TEST").is_some() {
return;
}
let version = env::var_os("MAA_CORE_VERSION").unwrap();
Expand Down

0 comments on commit 8c1a129

Please sign in to comment.