Skip to content

Commit

Permalink
Fix failing tests. Closes #3898 (#3914)
Browse files Browse the repository at this point in the history
  • Loading branch information
hudochenkov authored and jeddy3 committed Jan 18, 2019
1 parent 863cb29 commit e26fb81
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -64,7 +64,7 @@
"micromatch": "^3.1.10",
"normalize-selector": "^0.2.0",
"pify": "^4.0.0",
"postcss": "^7.0.0",
"postcss": "^7.0.13",
"postcss-html": "^0.36.0",
"postcss-jsx": "^0.36.0",
"postcss-less": "^3.1.0",
Expand Down
30 changes: 15 additions & 15 deletions system-tests/005/__snapshots__/005.test.js.snap
Expand Up @@ -1299,7 +1299,7 @@ Array [
"text": "Expected newline before \\"}\\" (block-closing-brace-newline-before)",
},
Object {
"column": 20,
"column": 19,
"line": 154,
"rule": "block-closing-brace-newline-before",
"severity": "error",
Expand Down Expand Up @@ -2020,7 +2020,7 @@ Array [
"text": "Expected single space after \\"}\\" (block-closing-brace-space-after)",
},
Object {
"column": 22,
"column": 21,
"line": 154,
"rule": "block-closing-brace-space-after",
"severity": "error",
Expand Down Expand Up @@ -5765,7 +5765,7 @@ Array [
"text": "Expected newline before \\";\\" (declaration-block-semicolon-newline-before)",
},
Object {
"column": 18,
"column": 17,
"line": 154,
"rule": "declaration-block-semicolon-newline-before",
"severity": "error",
Expand Down Expand Up @@ -6591,7 +6591,7 @@ Array [
"text": "Expected single space before \\";\\" (declaration-block-semicolon-space-before)",
},
Object {
"column": 18,
"column": 17,
"line": 154,
"rule": "declaration-block-semicolon-space-before",
"severity": "error",
Expand Down Expand Up @@ -7515,7 +7515,7 @@ Array [
"text": "Expected newline after \\":\\" (declaration-colon-newline-after)",
},
Object {
"column": 13,
"column": 12,
"line": 154,
"rule": "declaration-colon-newline-after",
"severity": "error",
Expand Down Expand Up @@ -8362,7 +8362,7 @@ Array [
"text": "Expected single space before \\":\\" (declaration-colon-space-before)",
},
Object {
"column": 8,
"column": 13,
"line": 154,
"rule": "declaration-colon-space-before",
"severity": "error",
Expand Down Expand Up @@ -9772,6 +9772,13 @@ Array [
"severity": "error",
"text": "Unexpected value \\"black\\" for property \\"color\\" (declaration-property-value-whitelist)",
},
Object {
"column": 5,
"line": 154,
"rule": "declaration-property-value-whitelist",
"severity": "error",
"text": "Unexpected value \\"pink\\" for property \\"//color\\" (declaration-property-value-whitelist)",
},
Object {
"column": 5,
"line": 168,
Expand Down Expand Up @@ -11081,13 +11088,6 @@ Array [
"severity": "error",
"text": "Expected line length to be no more than 20 characters (max-line-length)",
},
Object {
"column": 21,
"line": 154,
"rule": "max-line-length",
"severity": "error",
"text": "Expected line length to be no more than 20 characters (max-line-length)",
},
Object {
"column": 34,
"line": 155,
Expand Down Expand Up @@ -14054,7 +14054,7 @@ Array [
"line": 154,
"rule": "property-no-unknown",
"severity": "error",
"text": "Unexpected unknown property \\"//\\" (property-no-unknown)",
"text": "Unexpected unknown property \\"//color\\" (property-no-unknown)",
},
Object {
"column": 3,
Expand Down Expand Up @@ -14551,7 +14551,7 @@ Array [
"line": 154,
"rule": "property-whitelist",
"severity": "error",
"text": "Unexpected property \\"//\\" (property-whitelist)",
"text": "Unexpected property \\"//color\\" (property-whitelist)",
},
Object {
"column": 5,
Expand Down
2 changes: 1 addition & 1 deletion system-tests/005/stylesheet.css
Expand Up @@ -151,7 +151,7 @@ a {}
a { color: pink; }
@import "x.css";;
a { color: black; background: #010101; }
a { // color: pink; }
a { //color: pink; }
a { animation-name: fancy-slide; }
a { opacity: 0.5; }
a { line-height: .5; }
Expand Down

0 comments on commit e26fb81

Please sign in to comment.