Skip to content

Commit

Permalink
Merge pull request #2 from guenhter/fix-build-status
Browse files Browse the repository at this point in the history
Fix build status
  • Loading branch information
guenhter authored Sep 14, 2024
2 parents ad90568 + 64b0f12 commit 8ba0ca7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "temp_env_vars"
version = "0.1.1"
version = "0.1.2"
authors = ["Günther Grill <[email protected]>"]
edition = "2021"
rust-version = "1.80"
Expand All @@ -14,7 +14,7 @@ categories = ["development-tools::testing"]
exclude = [".github/", ".vscode/", ".editorconfig", ".gitignore"]

[dependencies]
temp_env_vars_macro = { version = "0.1.1", path = "./temp_env_vars_macro" }
temp_env_vars_macro = { version = "0.1.2", path = "./temp_env_vars_macro" }

[dev-dependencies]
assertor = "0.0.2"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Version](https://img.shields.io/crates/v/temp_env_vars.svg)](https://crates.io/crates/temp_env_vars)
[![Downloads](https://img.shields.io/crates/d/temp_env_vars)](https://crates.io/crates/temp_env_vars)
[![MIT license](https://img.shields.io/crates/l/temp_env_vars.svg)](./LICENSE)
[![Build Status](https://github.com/guenhter/temp_env_vars/workflows/CI/badge.svg?branch=main)](https://github.com/guenhter/temp_env_vars/actions)
[![Build Status](https://github.com/guenhter/temp_env_vars/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/guenhter/temp_env_vars/actions)
[![MSRV: 1.80.0](https://flat.badgen.net/badge/MSRV/1.80.0/purple)](https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html)


Expand Down Expand Up @@ -57,7 +57,7 @@ Whenever the created `TestEnvScope` goes out of scope, all env vars are reset.

```rust
#[test]
#[serial] // Advices to use serial, alse parallel tests could mix up envs
#[serial] // Use "serial" (external crate), as parallel tests could mix up envs
fn test_some() {
let _env_scope = TestEnvScope::new();
std::env::set_var("FOO", "BAR");
Expand All @@ -67,7 +67,7 @@ fn test_some() {
}

#[test]
#[serial] // Advices to use serial, alse parallel tests could mix up envs
#[serial] // Use "serial" (external crate), as parallel tests could mix up envs
fn test_bar() {
let _env_scope = TestEnvScope::new();
std::env::set_var("FOO", "BAR");
Expand Down
4 changes: 2 additions & 2 deletions temp_env_vars_macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "temp_env_vars_macro"
version = "0.1.1"
version = "0.1.2"
authors = ["Günther Grill <[email protected]>"]
edition = "2021"
rust-version = "1.80"
Expand All @@ -21,7 +21,7 @@ syn = { version = "2.0.74", features = ["full"] }
assertor = "0.0.2"
serial_test = "3.1.1"
anyhow = "1.0.86"
temp_env_vars = { version = "0.1.1", path = ".." }
temp_env_vars = { version = "0.1.2", path = ".." }

[lib]
proc-macro = true
Expand Down

0 comments on commit 8ba0ca7

Please sign in to comment.