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

Unified Diff: test/compiler_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
Index: test/compiler_test.dart
diff --git a/test/compiler_test.dart b/test/compiler_test.dart
index 8d63f8b8dae4fc19f6bae3ee9096e902d773bb93..a7cdf4a4725c5332ccb2d0b64ef193b17ebfc45e 100644
--- a/test/compiler_test.dart
+++ b/test/compiler_test.dart
@@ -516,10 +516,10 @@ void testArrayOfChars() {
var errors = [];
var input = '<![CDATA[.foo { '
'color: red; left: 20px; top: 20px; width: 100px; height:200px'
- '}'
- '#div {'
+ '}'
+ '#div {'
'color : #00F578; border-color: #878787;'
- '}]]>';
+ '}]]>';
var stylesheet = parse(UTF8.encode(input), errors: errors);
@@ -584,8 +584,8 @@ p:nth-child(3n-3) { }
div:nth-child(2n) { color : red; }
''';
- var stylesheet = parseCss(input, errors: errors,
- opts: ['--no-colors', 'memory']);
+ var stylesheet =
+ parseCss(input, errors: errors, opts: ['--no-colors', 'memory']);
expect(stylesheet != null, true);
expect(errors.isEmpty, true, reason: errors.toString());
@@ -647,16 +647,16 @@ void testHost() {
var errors = [];
var input = '@host { '
':scope {'
- 'white-space: nowrap;'
- 'overflow-style: marquee-line;'
- 'overflow-x: marquee;'
+ 'white-space: nowrap;'
+ 'overflow-style: marquee-line;'
+ 'overflow-x: marquee;'
'}'
'* { color: red; }'
'*:hover { font-weight: bold; }'
':nth-child(odd) { color: blue; }'
- '}';
- var stylesheet = parseCss(input, errors: errors,
- opts: ['--no-colors', 'memory']);
+ '}';
+ var stylesheet =
+ parseCss(input, errors: errors, opts: ['--no-colors', 'memory']);
expect(stylesheet != null, true);
expect(errors.isEmpty, true, reason: errors.toString());
@@ -684,10 +684,10 @@ void testEmitter() {
var errors = [];
var input = '.foo { '
'color: red; left: 20px; top: 20px; width: 100px; height:200px'
- '}'
- '#div {'
+ '}'
+ '#div {'
'color : #00F578; border-color: #878787;'
- '}';
+ '}';
var stylesheet = parseCss(input, errors: errors);
expect(stylesheet != null, true);
« pubspec.yaml ('K') | « test/big_1_test.dart ('k') | test/declaration_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698