summaryrefslogtreecommitdiff
path: root/src/parse/tests.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-12-27 19:23:26 +0100
committerLaurenz <laurmaedje@gmail.com>2020-12-27 19:23:26 +0100
commit750d220bb080be077cd7ede6d18d485b1c3fb0c9 (patch)
tree741bcbf9e286de6433a0677d4bcf8b93d70fb806 /src/parse/tests.rs
parentc44ebf876f6ab09fe1629d980efc5c4878a6a5a5 (diff)
Add color enum 🎨
Diffstat (limited to 'src/parse/tests.rs')
-rw-r--r--src/parse/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/tests.rs b/src/parse/tests.rs
index 6d5eee38..1b6df74b 100644
--- a/src/parse/tests.rs
+++ b/src/parse/tests.rs
@@ -436,7 +436,7 @@ fn test_parse_values() {
e!("[val: [hi]]" => );
// Healed colors.
- v!("#12345" => Color(RgbaColor::with_healed(0, 0, 0, 0xff, true)));
+ v!("#12345" => Color(RgbaColor::new(0, 0, 0, 0xff)));
e!("[val: #12345]" => s(6, 12, "invalid color"));
e!("[val: #a5]" => s(6, 9, "invalid color"));
e!("[val: #14b2ah]" => s(6, 13, "invalid color"));