Skip to content

Commit

Permalink
chore: rename deprecated yansi methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Sep 1, 2024
1 parent 4a0e5a3 commit 1e51cce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pretty_assertions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ alloc = []
unstable = []

[dependencies]
yansi = "1.0.0-rc.1"
yansi = "1.0.1"
diff = "0.1.12"
4 changes: 2 additions & 2 deletions pretty_assertions/src/printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ pub(crate) fn write_header(f: &mut fmt::Formatter) -> fmt::Result {
"{} {} {} / {} {} :",
"Diff".bold(),
SIGN_LEFT.red().linger(),
"left".clear(),
"left".resetting(),
"right".green().linger(),
SIGN_RIGHT.clear(),
SIGN_RIGHT.resetting(),
)
}

Expand Down

0 comments on commit 1e51cce

Please sign in to comment.