Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: third_party/pyscss/scss/tests/test_for.py

Issue 9111023: Pyscss is obsolete with Dart CSS complier; remove all pyscss code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove pyparsing from .gitignore Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pyscss/scss/tests/test_font_face.py ('k') | third_party/pyscss/scss/tests/test_functions.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pyscss/scss/tests/test_for.py
diff --git a/third_party/pyscss/scss/tests/test_for.py b/third_party/pyscss/scss/tests/test_for.py
deleted file mode 100644
index 5a18b6fab001c3f1a72d5e15ea417a15df37748b..0000000000000000000000000000000000000000
--- a/third_party/pyscss/scss/tests/test_for.py
+++ /dev/null
@@ -1,32 +0,0 @@
-import unittest
-
-from scss.parser import Stylesheet
-
-
-class TestSCSS( unittest.TestCase ):
-
- def setUp(self):
- self.parser = Stylesheet(options=dict(compress=True))
-
- def test_for(self):
- src = """
- @mixin test($src:2px){
- $width: $src + 5px;
- width: $width;
- }
- .test {
- color: blue;
- @for $i from 1 through 4 {
- .span-#{$i}{
- @include test($i); }
- }
- }
-
- @for $i from 1 through 2 {
- .span-#{$i}{
- color: red; }
- }
- """
- test = ".test{color:#00f}.test .span-1{width:6px}.test .span-2{width:7px}.test .span-3{width:8px}.test .span-4{width:9px}.span-1{color:#f00}.span-2{color:#f00}"
- out = self.parser.loads(src)
- self.assertEqual(test, out)
« no previous file with comments | « third_party/pyscss/scss/tests/test_font_face.py ('k') | third_party/pyscss/scss/tests/test_functions.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698