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

Unified Diff: test/visitor_test.dart

Issue 998843003: pkg/csslib: formatting (Closed) Base URL: https://github.com/dart-lang/csslib@master
Patch Set: Created 5 years, 9 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
« pubspec.yaml ('K') | « test/var_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/visitor_test.dart
diff --git a/test/visitor_test.dart b/test/visitor_test.dart
index 451b687cd0745ea17e149950c24adf0b069d16f7..1777748906b32c83fc0685ae4e075d4cb3ed1d17 100644
--- a/test/visitor_test.dart
+++ b/test/visitor_test.dart
@@ -43,7 +43,7 @@ void testClassVisitors() {
var clsVisits = new ClassVisitor(['foobar'])..visitTree(s);
expect(clsVisits.matches, true);
- in1= '''
+ in1 = '''
.foobar1 { }
.xyzzy .foo #my-div { color: red; }
div.hello { font: arial; }
@@ -54,8 +54,8 @@ void testClassVisitors() {
expect(s != null, true);
expect(errors.isEmpty, true, reason: errors.toString());
- clsVisits =
- new ClassVisitor(['foobar1', 'xyzzy', 'foo', 'hello'])..visitTree(s);
+ clsVisits = new ClassVisitor(['foobar1', 'xyzzy', 'foo', 'hello'])
+ ..visitTree(s);
expect(clsVisits.matches, true);
expect(prettyPrint(s), r'''
@@ -80,7 +80,7 @@ class PolyfillEmitter extends CssPrinter {
}
String polyfillPrint(String prefix, StyleSheet ss) =>
- (new PolyfillEmitter(prefix)..visitTree(ss, pretty: true)).toString();
+ (new PolyfillEmitter(prefix)..visitTree(ss, pretty: true)).toString();
void testPolyFill() {
var errors = [];
« pubspec.yaml ('K') | « test/var_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698