OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #library("declaration_tests"); | 5 #library("declaration_tests"); |
6 #import("../../css/css.dart"); | 6 #import("../../css/css.dart"); |
7 | 7 |
8 void main() { | 8 void main() { |
9 initCssWorld(); | 9 initCssWorld(); |
10 | 10 |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 "}\n"; | 240 "}\n"; |
241 | 241 |
242 Parser parser = | 242 Parser parser = |
243 new Parser(new SourceFile(SourceFile.IN_MEMORY_FILE, scss)); | 243 new Parser(new SourceFile(SourceFile.IN_MEMORY_FILE, scss)); |
244 | 244 |
245 Stylesheet stylesheet = parser.parse(); | 245 Stylesheet stylesheet = parser.parse(); |
246 Expect.isNotNull(stylesheet); | 246 Expect.isNotNull(stylesheet); |
247 | 247 |
248 Expect.equals(generated, stylesheet.toString()); | 248 Expect.equals(generated, stylesheet.toString()); |
249 } | 249 } |
OLD | NEW |