Skip to content

Commit

Permalink
Fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
atezet authored and spenserblack committed Oct 10, 2024
1 parent 58a06a4 commit 981cfe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ features = [
"Win32_System_Console",
]

[dev_dependencies]
[dev-dependencies]
ansi_term = "0.12"
insta = "1"
rspec = "1"
2 changes: 1 addition & 1 deletion src/customcolors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ mod tests {
#[test]
fn main() {
let my_color = CustomColor::new(0, 120, 120);
insta::assert_display_snapshot!("Greetings from Ukraine".custom_color(my_color));
insta::assert_snapshot!("Greetings from Ukraine".custom_color(my_color));
}

#[test]
Expand Down

0 comments on commit 981cfe4

Please sign in to comment.