tests: comments with `CRLF` (#4145)

master
Evilebot Tnawi 2018-03-21 12:04:57 +03:00 committed by GitHub
parent d9ee183f5b
commit 190d34fa46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 267 additions and 0 deletions

View File

@ -0,0 +1,19 @@
/*
* Comment 1
*/
#header {
/*
* Comment 2
*/
color: red;
}
@media only screen and (max-width: 600px) {
/*
* Comment 3
*/
body {
background-color: lightblue; /* Comment 4 */
color: red; /* Comment 5 */
}
}

View File

@ -0,0 +1,25 @@
@nice-blue: #5B83AD;
@light-blue: @nice-blue + #111;
// Comment 1
/*
* Comment 2
*/
#header {
// Comment 3
/*
* Comment 4
*/
color: @light-blue;
}
@media only screen and (max-width: 600px) {
// Comment 1
/*
* Comment 5
*/
body {
background-color: lightblue; // Comment 6
color: red; /* Comment 7 */
}
}

View File

@ -0,0 +1,40 @@
$nice-blue: #5B83AD;
$light-blue: $nice-blue + #111;
// Comment 1
/*
* Comment 2
*/
#header {
// Comment 3
/*
* Comment 4
*/
color: @light-blue;
}
@media only screen and (max-width: 600px) {
// Comment 1
/*
* Comment 5
*/
body {
background-color: lightblue; // Comment 6
color: red; /* Comment 7 */
}
}
@mixin create-rules($padding) {
//
// Comment 8
//
.abc {
padding: $padding;
}
/**
* Comment 9
*/
.def {
padding: $padding;
}
}

View File

@ -1,5 +1,188 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CRLF.css 1`] = `
/*
* Comment 1
*/
#header {
/*
* Comment 2
*/
color: red;
}
@media only screen and (max-width: 600px) {
/*
* Comment 3
*/
body {
background-color: lightblue; /* Comment 4 */
color: red; /* Comment 5 */
}
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
* Comment 1
*/
#header {
/*
* Comment 2
*/
color: red;
}
@media only screen and (max-width: 600px) {
/*
* Comment 3
*/
body {
background-color: lightblue; /* Comment 4 */
color: red; /* Comment 5 */
}
}
`;
exports[`CRLF.less 1`] = `
@nice-blue: #5B83AD;
@light-blue: @nice-blue + #111;
// Comment 1
/*
* Comment 2
*/
#header {
// Comment 3
/*
* Comment 4
*/
color: @light-blue;
}
@media only screen and (max-width: 600px) {
// Comment 1
/*
* Comment 5
*/
body {
background-color: lightblue; // Comment 6
color: red; /* Comment 7 */
}
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@nice-blue: #5B83AD;
@light-blue: @nice-blue + #111;
// Comment 1
/*
* Comment 2
*/
#header {
// Comment 3
/*
* Comment 4
*/
color: @light-blue;
}
@media only screen and (max-width: 600px) {
// Comment 1
/*
* Comment 5
*/
body {
background-color: lightblue; // Comment 6
color: red; /* Comment 7 */
}
}
`;
exports[`CRLF.scss 1`] = `
$nice-blue: #5B83AD;
$light-blue: $nice-blue + #111;
// Comment 1
/*
* Comment 2
*/
#header {
// Comment 3
/*
* Comment 4
*/
color: @light-blue;
}
@media only screen and (max-width: 600px) {
// Comment 1
/*
* Comment 5
*/
body {
background-color: lightblue; // Comment 6
color: red; /* Comment 7 */
}
}
@mixin create-rules($padding) {
//
// Comment 8
//
.abc {
padding: $padding;
}
/**
* Comment 9
*/
.def {
padding: $padding;
}
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$nice-blue: #5b83ad;
$light-blue: $nice-blue + #111;
// Comment 1
/*
* Comment 2
*/
#header {
// Comment 3
/*
* Comment 4
*/
color: @light-blue;
}
@media only screen and (max-width: 600px) {
// Comment 1
/*
* Comment 5
*/
body {
background-color: lightblue; // Comment 6
color: red; /* Comment 7 */
}
}
@mixin create-rules($padding) {
//
// Comment 8
//
.abc {
padding: $padding;
}
/**
* Comment 9
*/
.def {
padding: $padding;
}
}
`;
exports[`at-rules.css 1`] = `
@charset "utf-8"; /* comment 1 */