Skip to content

Commit

Permalink
Update expected results
Browse files Browse the repository at this point in the history
  • Loading branch information
FWeinb committed Feb 8, 2015
1 parent a0feef2 commit d7e3d2c
Showing 1 changed file with 34 additions and 50 deletions.
84 changes: 34 additions & 50 deletions test/data/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,27 +177,15 @@
}
}
},
{
"description": "This is a test aiming at testing:\n- autofilled `@requires`\n- autofilled `@error`\n- autofilled `@content`\n",
"context": {
"type": "mixin",
"name": "autofill-test",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"line": {
"start": 124,
"end": 134
}
}
},
{
"description": "This is a test that autofill can be overwritten.\n",
"context": {
"type": "mixin",
"name": "autofill-test-handwritten",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n",
"line": {
"start": 143,
"end": 147
"start": 144,
"end": 148
}
}
}
Expand Down Expand Up @@ -262,10 +250,10 @@
"context": {
"type": "mixin",
"name": "autofill-test",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"code": "\n autofill-test: $autofill-test;\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"line": {
"start": 124,
"end": 134
"end": 135
}
}
},
Expand All @@ -276,8 +264,8 @@
"name": "autofill-test-handwritten",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n",
"line": {
"start": 143,
"end": 147
"start": 144,
"end": 148
}
}
}
Expand Down Expand Up @@ -340,10 +328,10 @@
"context": {
"type": "mixin",
"name": "autofill-test",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"code": "\n autofill-test: $autofill-test;\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"line": {
"start": 124,
"end": 134
"end": 135
}
}
},
Expand All @@ -354,8 +342,8 @@
"name": "autofill-test-handwritten",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n",
"line": {
"start": 143,
"end": 147
"start": 144,
"end": 148
}
}
}
Expand Down Expand Up @@ -405,10 +393,10 @@
"context": {
"type": "mixin",
"name": "autofill-test",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"code": "\n autofill-test: $autofill-test;\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"line": {
"start": 124,
"end": 134
"end": 135
}
}
}
Expand All @@ -423,10 +411,10 @@
"context": {
"type": "mixin",
"name": "autofill-test",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"code": "\n autofill-test: $autofill-test;\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n @extend %placeholder-specific-test;\n\n @content;\n\n @include autofill-test();\n @error \"This is an autofilled error\";\n",
"line": {
"start": 124,
"end": 134
"end": 135
}
},
"group": [
Expand All @@ -439,10 +427,6 @@
"type": "mixin",
"name": "mixin-specific-test"
},
{
"type": "function",
"name": "function-specific-test"
},
{
"type": "placeholder",
"name": "placeholder-specific-test"
Expand All @@ -463,16 +447,16 @@
{
"description": "This is a test that autofill can be overwritten.\n",
"commentRange": {
"start": 139,
"end": 141
"start": 140,
"end": 142
},
"context": {
"type": "mixin",
"name": "autofill-test-handwritten",
"code": "\n $call: function-specific-test();\n $use: $variable-specific-test;\n @include mixin-specific-test;\n",
"line": {
"start": 143,
"end": 147
"start": 144,
"end": 148
}
},
"require": [
Expand Down Expand Up @@ -503,16 +487,16 @@
{
"description": "This is a test that autofill should report not found\n",
"commentRange": {
"start": 149,
"end": 150
"start": 150,
"end": 151
},
"context": {
"type": "mixin",
"name": "autofill-test-not-found",
"code": "\n",
"line": {
"start": 151,
"end": 152
"start": 152,
"end": 153
}
},
"require": [],
Expand All @@ -528,16 +512,16 @@
{
"description": "This is a test function aiming at testing:\n- `@alias`\n\n",
"commentRange": {
"start": 156,
"end": 159
"start": 157,
"end": 160
},
"context": {
"type": "function",
"name": "alias-test",
"code": "",
"line": {
"start": 161,
"end": 161
"start": 162,
"end": 162
}
},
"alias": "alias-test-aliased",
Expand All @@ -553,16 +537,16 @@
{
"description": "This is a test function aiming at testing:\n- `@alias`\n",
"commentRange": {
"start": 163,
"end": 164
"start": 164,
"end": 165
},
"context": {
"type": "function",
"name": "alias-test-aliased",
"code": "",
"line": {
"start": 166,
"end": 166
"start": 167,
"end": 167
}
},
"group": [
Expand All @@ -580,16 +564,16 @@
{
"description": "This is a test function aiming at testing:\n- `@alias`\n\n",
"commentRange": {
"start": 168,
"end": 171
"start": 169,
"end": 172
},
"context": {
"type": "function",
"name": "alias-test-should-warn",
"code": "",
"line": {
"start": 173,
"end": 173
"start": 174,
"end": 174
}
},
"group": [
Expand Down

0 comments on commit d7e3d2c

Please sign in to comment.