Skip to content

Commit 981cfe4

Browse files
atezetspenserblack
authored andcommitted
Fix deprecation warnings
1 parent 58a06a4 commit 981cfe4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ features = [
2525
"Win32_System_Console",
2626
]
2727

28-
[dev_dependencies]
28+
[dev-dependencies]
2929
ansi_term = "0.12"
3030
insta = "1"
3131
rspec = "1"

src/customcolors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ mod tests {
3030
#[test]
3131
fn main() {
3232
let my_color = CustomColor::new(0, 120, 120);
33-
insta::assert_display_snapshot!("Greetings from Ukraine".custom_color(my_color));
33+
insta::assert_snapshot!("Greetings from Ukraine".custom_color(my_color));
3434
}
3535

3636
#[test]

0 commit comments

Comments
 (0)