Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett Jankord authored and Brett Jankord committed Jun 29, 2016
1 parent 1d457ae commit 2c80868
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@
- Fixed: `max-nesting-depth` rule set to 1 to match Sass Guidelines NestingDepth max_depth: 1 rule
- Fixed: Cleaned up comments in `failing-test-case.scss`
- Fixed: Declaration order now sorted alphabetically in `passing-test-case.scss`
- Fixed: Updated tests to account for new rules
- Removed: `block-closing-brace-newline-after` rule
- Removed: `no-extra-semicolons` rule
- Removed: `string-no-newline` rule
Expand Down
19 changes: 5 additions & 14 deletions __tests__/index.js
Expand Up @@ -15,8 +15,8 @@ const validCss = (
.selector-baz[type='text'] {
background: linear-gradient(#fff, rgba(0, 0, 0, 0.8));
box-sizing: border-box;
display: block;
color: #333;
display: block;
}
.selector-a,
Expand Down Expand Up @@ -48,26 +48,17 @@ const validCss = (
/* Flush single line comment */
@media screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
.selector {
background-image:
repeating-linear-gradient(
-45deg,
transparent,
#fff 25px,
rgba(255, 255, 255, 1) 50px
);
background-image: repeating-linear-gradient(-45deg, transparent, #fff 25px, rgba(255, 255, 255, 1) 50px);
box-shadow: 0 1px 1px #000, 0 1px 0 #fff, 2px 2px 1px 1px #ccc inset;
height: 10rem;
margin: 10px;
margin-bottom: 5px;
box-shadow:
0 1px 1px #000,
0 1px 0 #fff,
2px 2px 1px 1px #ccc inset;
height: 10rem;
}
/* Flush nested single line comment */
.selector::after {
content: '→';
background-image: url('x.svg');
content: '→';
}
}
Expand Down

0 comments on commit 2c80868

Please sign in to comment.