This commit is contained in:
jtm
2012-03-16 15:14:02 +00:00
parent 87c5afacd2
commit 841b4d24d2
7 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
.escape\|random\|char {
color: red;
}
.mixin\!tUp {
font-weight: bold;
}
.trailingTest\+ {
color: red;
}

3
lesscpy/test/css/escapes.min.css vendored Normal file
View File

@@ -0,0 +1,3 @@
.escape\|random\|char{color:red;}
.mixin\!tUp{font-weight:bold;}
.trailingTest\+{color:red;}

12
lesscpy/test/css/page.css Normal file
View File

@@ -0,0 +1,12 @@
@page {
margin: 2.5cm;
}
@page {
margin-left: 5cm;
}
@page {
margin-right: 5cm;
}
@page {
margin-top: 8cm;
}

4
lesscpy/test/css/page.min.css vendored Normal file
View File

@@ -0,0 +1,4 @@
@page{margin:2.5cm;}
@page{margin-left:5cm;}
@page{margin-right:5cm;}
@page{margin-top:8cm;}

View File

@@ -0,0 +1,14 @@
/*
css escapes
*/
.escape\|random\|char {
color: red;
}
.mixin\!tUp {
font-weight: bold;
}
.trailingTest\+ {
color: red;
}

View File

@@ -0,0 +1,9 @@
// class="404"
.\34 04 {
background: red;
strong {
color: @ugly;
.mixin\!tUp;
}
}

View File

@@ -40,7 +40,7 @@ def create_test (args):
self.assertEqual(line.rstrip(), mout[i], '%s: Line %d' % (minf, i+1)) self.assertEqual(line.rstrip(), mout[i], '%s: Line %d' % (minf, i+1))
i += 1 i += 1
else: else:
pass #self.fail("%s not found..." % minf) self.fail("%s not found..." % minf)
return do_test_expected return do_test_expected
LESS = glob.glob( os.path.join('less/', '*.less')) LESS = glob.glob( os.path.join('less/', '*.less'))