mirror of
https://github.com/ilyakooo0/hakyll.git
synced 2024-10-06 09:17:15 +03:00
Adding tests that make sure that the constant terminators don't get mixed up.
This commit is contained in:
parent
eaf21c273d
commit
84818cb94a
@ -36,6 +36,11 @@ tests = testGroup "Hakyll.Web.CompressCss.Tests" $ concat
|
||||
-- but do not compress separators inside of constants
|
||||
, "\" { } ; \"" @=?
|
||||
compressCss "\" { } ; \""
|
||||
-- don't get irritated by the wrong constant terminator
|
||||
, "\" ' \"" @=?
|
||||
compressCss "\" ' \""
|
||||
, "' \" '" @=?
|
||||
compressCss "' \" '"
|
||||
, ";" @=?
|
||||
compressCss ";;;;;;;"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user