aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAkianonymus <anonymus.aki@gmail.com>2022-08-27 23:11:35 +0530
committerAkianonymus <anonymus.aki@gmail.com>2022-08-27 23:11:35 +0530
commit4fc6972e3d66d5b42c6ff44dd4f1d15db5aed03c (patch)
tree121520b881fefac9a0cd151f3712f2b554ee7713 /test
parentfix: error when invalid hsl/rgb values (diff)
Use string.format to convert to hex
Diffstat (limited to 'test')
-rw-r--r--test/expectation.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/expectation.txt b/test/expectation.txt
index 7813fe8..da3deb6 100644
--- a/test/expectation.txt
+++ b/test/expectation.txt
@@ -1,5 +1,5 @@
-- vim:ft=lua
-require'colorizer'.attach_to_buffer(0, {css=true})
+require("colorizer").attach_to_buffer(0, { css = true })
--[[ SUCCESS
#F0F
@@ -15,7 +15,7 @@ Blue Gray LightBlue Gray100 White
White
#def
#deadbeef
-rgba(0,0,0,0)
+rgba(200,30,0,0)
rgb(0,0,0)
rgb(10, 100 , 100)
hsl(300,50%,50%)
@@ -43,4 +43,3 @@ hsla(300,50%,50,1.0000000000000001)
hsla(300,50,50,1.0000000000000001)
hsla(361,50,50,1.0000000000000001)
]]
-