-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tests and fixed some bugs. #186
- Loading branch information
jurcovicovam
committed
Jun 24, 2014
1 parent
ddfb7d6
commit 2245272
Showing
14 changed files
with
110 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...esources/compile-basic-features/detached-rulesets/detached-rulesets-errors-additional.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
.does-not-exists { | ||
!#error#! | ||
} | ||
.wrong-datatype { | ||
!#error#! | ||
} | ||
.selector { | ||
interpolation: "!#error#!"; | ||
} |
4 changes: 3 additions & 1 deletion
4
...esources/compile-basic-features/detached-rulesets/detached-rulesets-errors-additional.err
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Errors produced by compilation of testCase | ||
ERROR 3:2 Could not find detached ruleset for "@does-not-exists". | ||
ERROR 3:2 Could not find detached ruleset for "@does-not-exists". | ||
ERROR 8:3 Detached ruleset reference "@wrongDatatype" does not evaluate to detached ruleset. It resolved to expression defined at 6:17 | ||
ERROR 13:18 String interpolation does not requeted expression type. Requested expression was defined at 11:12 |
13 changes: 12 additions & 1 deletion
13
...sources/compile-basic-features/detached-rulesets/detached-rulesets-errors-additional.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
//does not exists | ||
.does-not-exists { | ||
@does-not-exists(); | ||
} | ||
} | ||
//wrong datatype | ||
@wrongDatatype: "this is not ruleset"; | ||
.wrong-datatype { | ||
@wrongDatatype(); | ||
} | ||
//attempt to interpolate | ||
@detached: { color: blue; }; | ||
.selector { | ||
interpolation: "@{detached}"; | ||
} | ||
|