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