Skip to content

Commit

Permalink
🎨 Rename some pseudo class tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bgriffith authored and tonyganch committed Jun 21, 2016
1 parent 94ea238 commit 7d17c8e
Show file tree
Hide file tree
Showing 11 changed files with 174 additions and 174 deletions.
82 changes: 82 additions & 0 deletions test/scss/pseudoc/10.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"type": "pseudoClass",
"content": [
{
"type": "ident",
"content": "not",
"syntax": "scss",
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
"column": 4
}
},
{
"type": "arguments",
"content": [
{
"type": "selector",
"content": [
{
"type": "class",
"content": [
{
"type": "ident",
"content": "heading",
"syntax": "scss",
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 13
}
}
],
"syntax": "scss",
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 13
}
}
],
"syntax": "scss",
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 13
}
}
],
"syntax": "scss",
"start": {
"line": 1,
"column": 5
},
"end": {
"line": 1,
"column": 14
}
}
],
"syntax": "scss",
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 14
}
}
1 change: 1 addition & 0 deletions test/scss/pseudoc/10.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:not(.heading)
16 changes: 8 additions & 8 deletions test/scss/pseudoc/11.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
"type": "selector",
"content": [
{
"type": "class",
"type": "typeSelector",
"content": [
{
"type": "ident",
"content": "heading",
"content": "h1",
"syntax": "scss",
"start": {
"line": 1,
"column": 7
"column": 6
},
"end": {
"line": 1,
"column": 13
"column": 7
}
}
],
Expand All @@ -44,7 +44,7 @@
},
"end": {
"line": 1,
"column": 13
"column": 7
}
}
],
Expand All @@ -55,7 +55,7 @@
},
"end": {
"line": 1,
"column": 13
"column": 7
}
}
],
Expand All @@ -66,7 +66,7 @@
},
"end": {
"line": 1,
"column": 14
"column": 8
}
}
],
Expand All @@ -77,6 +77,6 @@
},
"end": {
"line": 1,
"column": 14
"column": 8
}
}
2 changes: 1 addition & 1 deletion test/scss/pseudoc/11.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:not(.heading)
:not(h1)
12 changes: 6 additions & 6 deletions test/scss/pseudoc/12.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"content": [
{
"type": "ident",
"content": "h1",
"content": "*",
"syntax": "scss",
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 7
"column": 6
}
}
],
Expand All @@ -44,7 +44,7 @@
},
"end": {
"line": 1,
"column": 7
"column": 6
}
}
],
Expand All @@ -55,7 +55,7 @@
},
"end": {
"line": 1,
"column": 7
"column": 6
}
}
],
Expand All @@ -66,7 +66,7 @@
},
"end": {
"line": 1,
"column": 8
"column": 7
}
}
],
Expand All @@ -77,6 +77,6 @@
},
"end": {
"line": 1,
"column": 8
"column": 7
}
}
2 changes: 1 addition & 1 deletion test/scss/pseudoc/12.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:not(h1)
:not(*)
79 changes: 73 additions & 6 deletions test/scss/pseudoc/13.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"content": [
{
"type": "ident",
"content": "*",
"content": "h1",
"syntax": "scss",
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 6
"column": 7
}
}
],
Expand All @@ -44,7 +44,74 @@
},
"end": {
"line": 1,
"column": 6
"column": 7
}
},
{
"type": "class",
"content": [
{
"type": "ident",
"content": "foo",
"syntax": "scss",
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 11
}
}
],
"syntax": "scss",
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 11
}
},
{
"type": "space",
"content": " ",
"syntax": "scss",
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 12
}
},
{
"type": "class",
"content": [
{
"type": "ident",
"content": "bar",
"syntax": "scss",
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 16
}
}
],
"syntax": "scss",
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 16
}
}
],
Expand All @@ -55,7 +122,7 @@
},
"end": {
"line": 1,
"column": 6
"column": 16
}
}
],
Expand All @@ -66,7 +133,7 @@
},
"end": {
"line": 1,
"column": 7
"column": 17
}
}
],
Expand All @@ -77,6 +144,6 @@
},
"end": {
"line": 1,
"column": 7
"column": 17
}
}
2 changes: 1 addition & 1 deletion test/scss/pseudoc/13.scss
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:not(*)
:not(h1.foo .bar)

0 comments on commit 7d17c8e

Please sign in to comment.