We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a06a4 commit 981cfe4Copy full SHA for 981cfe4
Cargo.toml
@@ -25,7 +25,7 @@ features = [
25
"Win32_System_Console",
26
]
27
28
-[dev_dependencies]
+[dev-dependencies]
29
ansi_term = "0.12"
30
insta = "1"
31
rspec = "1"
src/customcolors.rs
@@ -30,7 +30,7 @@ mod tests {
#[test]
fn main() {
32
let my_color = CustomColor::new(0, 120, 120);
33
- insta::assert_display_snapshot!("Greetings from Ukraine".custom_color(my_color));
+ insta::assert_snapshot!("Greetings from Ukraine".custom_color(my_color));
34
}
35
36
0 commit comments