aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-01-10 14:54:36 -0500
committerJesús <heckyel@hyperbola.info>2020-01-10 14:54:36 -0500
commit435da9503e60672cdf2b423f839394dd3faed388 (patch)
treecbaaaec01100f1c9a38fe97d8a51fede1b1a4fa0 /src
parentdc471a600b7c9219e46c95900919ec0ac88106d0 (diff)
downloademmet-mode-435da9503e60672cdf2b423f839394dd3faed388.tar.lz
emmet-mode-435da9503e60672cdf2b423f839394dd3faed388.tar.xz
emmet-mode-435da9503e60672cdf2b423f839394dd3faed388.zip
Fix CSS-transform test fails
Diffstat (limited to 'src')
-rw-r--r--src/test.el24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/test.el b/src/test.el
index b5140b9..96e4d6b 100644
--- a/src/test.el
+++ b/src/test.el
@@ -552,9 +552,9 @@
"fs" ("font-style: italic;")
"xxxxxx 0 auto 0e auto!" ("xxxxxx: 0px auto 0em auto !important;")
"p auto+m auto+bg+#F00 x.jpg 10 10 repeat-x"
- ("padding: auto;"
- "margin: auto;"
- "background: #F00 url(x.jpg) 10px 10px repeat-x;")
+ ("padding: auto;"
+ "margin: auto;"
+ "background: #F00 url(x.jpg) 10px 10px repeat-x;")
"-bdrs" ("-webkit-border-radius: ;"
"-moz-border-radius: ;"
"border-radius: ;")
@@ -569,8 +569,8 @@
"@m print 1" ("@media print {"
" 1px"
"}")
- "@i http://github.com/smihica/index.css"
- ("@import url(http://github.com/smihica/index.css);")
+ "@i https://example/index.css"
+ ("@import url(https://example/index.css);")
)
;; lorem generator test
@@ -622,13 +622,13 @@
(let ((emmet-indent-after-insert t))
(emmet-run-test-case "Indentation via indent-region"
#'emmet-indent-test
- '((("div>ul>li*3") . "<div>\n <ul>\n <li></li>\n <li></li>\n <li></li>\n </ul>\n</div>"))))
+ '((("div>ul>li*3") . "<div>\n <ul>\n <li></li>\n <li></li>\n <li></li>\n </ul>\n</div>"))))
(let ((emmet-indent-after-insert nil)
(emmet-indentation 2))
(emmet-run-test-case "Indentation via emmet-indentation"
#'emmet-indent-test
- '((("div>ul>li*3") . "<div>\n <ul>\n <li></li>\n <li></li>\n <li></li>\n </ul>\n</div>"))))
+ '((("div>ul>li*3") . "<div>\n <ul>\n <li></li>\n <li></li>\n <li></li>\n </ul>\n</div>"))))
;; Old tests for previous indent behavior last seen:
;; commit: f56174e5905a40583b47f9737abee3af8da3faeb
@@ -649,20 +649,20 @@
(emmet-run-test-case "Wrap with markup on text with brackets and markup"
#'emmet-wrap-with-markup-test
- '((("div>ul>li") . "<div>\n <ul>\n <li>This is gnarly text with $$$s and <span>markup</span> and end brackets}}s</li>\n </ul>\n</div>")))
+ '((("div>ul>li") . "<div>\n <ul>\n <li>This is gnarly text with $$$s and <span>markup</span> and end brackets}}s</li>\n </ul>\n</div>")))
(emmet-run-test-case "Wrap with markup multiplier"
#'emmet-wrap-with-markup-test
- '((("div>ul>li*3") . "<div>\n <ul>\n <li>This is gnarly text with $$$s and <span>markup</span> and end brackets}}s</li>\n <li>This is gnarly text with $$$s and <span>markup</span> and end brackets}}s</li>\n <li>This is gnarly text with $$$s and <span>markup</span> and end brackets}}s</li>\n </ul>\n</div>")))
+ '((("div>ul>li*3") . "<div>\n <ul>\n <li>This is gnarly text with $$$s and <span>markup</span> and end brackets}}s</li>\n <li>This is gnarly text with $$$s and <span>markup</span> and end brackets}}s</li>\n <li>This is gnarly text with $$$s and <span>markup</span> and end brackets}}s</li>\n </ul>\n</div>")))
(emmet-run-test-case "Wrap with multiline content"
#'emmet-wrap-with-markup-test
- '((("div>ul>li" "I am some\nmultiline\n text") . "<div>\n <ul>\n <li>I am some\n multiline\n text</li>\n </ul>\n</div>")))
+ '((("div>ul>li" "I am some\nmultiline\n text") . "<div>\n <ul>\n <li>I am some\n multiline\n text</li>\n </ul>\n</div>")))
(emmet-run-test-case "Wrap with per-line markup (trailing *)"
#'emmet-wrap-with-markup-test
'((("div>ul>li*" "I am some\nmultiline\n text") .
- "<div>\n <ul>\n <li>I am some</li>\n <li>multiline</li>\n <li>text</li>\n </ul>\n</div>")))
+ "<div>\n <ul>\n <li>I am some</li>\n <li>multiline</li>\n <li> text</li>\n </ul>\n</div>")))
;; Regression test for #54 (broken emmet-find-left-bound behavior
;; after tag with attributes)
@@ -708,7 +708,7 @@
(emmet-run-test-case "JSX's className 2"
#'emmet-expand-jsx-className?-test
- '(((".jsx>ul.lis>li.itm{x}*2") . "<div className=\"jsx\">\n <ul className=\"lis\">\n <li className=\"itm\">x</li>\n <li className=\"itm\">x</li>\n </ul>\n</div>")))
+ '(((".jsx>ul.lis>li.itm{x}*2") . "<div className=\"jsx\">\n <ul className=\"lis\">\n <li className=\"itm\">x</li>\n <li className=\"itm\">x</li>\n </ul>\n</div>")))
(defun emmet-self-closing-tag-style-test (lis)
(let ((es (car lis))