Skip to content

Commit

Permalink
docs(readme): negative failure message instead of a postive one (#746)
Browse files Browse the repository at this point in the history
The message inside the expect is shown on failure, so updated the
example to reflect that

Co-authored-by: Artem Medvedev <[email protected]>
  • Loading branch information
Ghamza-Jd and DDtKey authored Oct 20, 2024
1 parent a440dc4 commit 117920a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn test_redis() {
.with_network("bridge")
.with_env_var("DEBUG", "1")
.start()
.expect("Redis started");
.expect("Failed to start Redis");
}
```

Expand All @@ -50,7 +50,7 @@ async fn test_redis() {
.with_env_var("DEBUG", "1")
.start()
.await
.expect("Redis started");
.expect("Failed to start Redis");
}
```

Expand Down

0 comments on commit 117920a

Please sign in to comment.