Skip to content

Commit b473b5e

Browse files
committed
refactor: use crate assertor for fluent test assertions
1 parent a9954f9 commit b473b5e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ rand = "0.8.4"
3333
pretty_assertions = "1.1.0"
3434
test-case = "1.2.3"
3535
testcontainers = { git = "https://github.com/kezhuw/testcontainers-rs.git", branch = "zookeeper-client" }
36-
speculoos = "0.9.0"
36+
assertor = "0.0.2"
3737
assert_matches = "1.5.0"
3838
tempfile = "3.6.0"

src/chroot.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl<'a> ChrootPath<'a> {
9898

9999
#[cfg(test)]
100100
mod tests {
101-
use speculoos::prelude::*;
101+
use assertor::*;
102102
use test_case::test_case;
103103

104104
use super::*;

tests/zookeeper.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ use std::time::Duration;
22
use std::{fs, future};
33

44
use assert_matches::assert_matches;
5+
use assertor::*;
56
use pretty_assertions::assert_eq;
67
use rand::distributions::Standard;
78
use rand::{self, Rng};
8-
use speculoos::prelude::*;
99
#[allow(unused_imports)]
1010
use tempfile::{tempdir, TempDir};
1111
use testcontainers::clients::Cli as DockerCli;

0 commit comments

Comments
 (0)