emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master baf89c0 054/348: ivy-test.el (colir-color-parse): Add test


From: Oleh Krehel
Subject: [elpa] master baf89c0 054/348: ivy-test.el (colir-color-parse): Add test
Date: Sat, 8 Apr 2017 11:03:23 -0400 (EDT)

branch: master
commit baf89c048fe04ebc3b863ad5f558bf904c43f758
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy-test.el (colir-color-parse): Add test
    
    Re #543
---
 ivy-test.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ivy-test.el b/ivy-test.el
index f0d17c0..dee8803 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -205,4 +205,11 @@
                   (ivy--regex "(foo bar"))
                  "(\\(foo).*?(bar)")))
 
+(ert-deftest colir-color-parse ()
+  (should (equal (colir-color-parse "#ab1234")
+                 ;; (color-name-to-rgb "#ab1234")
+                 '(0.6705882352941176
+                   0.07058823529411765
+                   0.20392156862745098))))
+
 (provide 'ivy-test)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]