Skip to content

Commit

Permalink
Added test case for #54. Closes #54
Browse files Browse the repository at this point in the history
  • Loading branch information
meri committed Dec 12, 2012
1 parent f180919 commit 6d95560
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/resources/command-line/errors.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.test h4 {
declaration: !#error#!;
padding: 2 2 2 2;
}
4 changes: 4 additions & 0 deletions src/test/resources/command-line/errorsandwarnings.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
declaration: !#error#!;
padding: 2 2 2 2;
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ h3 {
}
.whatever {
text: whatever;
}
#nested .something {
margin: 2 2 2 2;
}
11 changes: 11 additions & 0 deletions src/test/resources/compile-basic-features/escaping/escaping.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,14 @@
(~".@{escapedVariable}") {
text: ~'@{escapedVariable}';
}

.call-me () {
@a: '.something';
(~'@{a}') {
margin: 2 2 2 2;
}
}

#nested {
.call-me ();
}

0 comments on commit 6d95560

Please sign in to comment.