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 135d17e commit dcfb52bCopy full SHA for dcfb52b
src/color.rs
@@ -46,9 +46,17 @@ mod tests {
46
47
#[test]
48
fn test_blue_string() {
49
- let base_string = "TEST".blue().to_string();
+ let str = "TEST";
50
let test_string = blue_string("TEST");
51
52
- assert_eq!(test_string, base_string);
+ assert_eq!(test_string, str);
53
+ }
54
+
55
+ #[test]
56
+ fn test_purple_string() {
57
58
+ let test_string = purple_string("TEST");
59
60
61
}
62
0 commit comments