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

Unified Diff: test/nested_test.dart

Issue 1131243005: pkg/csslib: use pkg/test and allow latest version of logging pkg (Closed) Base URL: https://github.com/dart-lang/csslib@master
Patch Set: Created 5 years, 7 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 | « test/mixin_test.dart ('k') | test/run.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/nested_test.dart
diff --git a/test/nested_test.dart b/test/nested_test.dart
index db25679d121155b467b1bb1f42584c287b0d0398..797ac5fe1887538d85e18eeff55d9f8cc83debe0 100644
--- a/test/nested_test.dart
+++ b/test/nested_test.dart
@@ -4,7 +4,8 @@
library nested_test;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
+
import 'testing.dart';
compileAndValidate(String input, String generated) {
@@ -413,7 +414,7 @@ void complexThis() {
.textLink {
color: fooL1;
&:hover { color: barL1;}
- }
+ }
.picLink {
background-image: url(/fooL1.jpg);
&:hover { background-image: url(/barL1.jpg);}
@@ -423,7 +424,7 @@ void complexThis() {
background-image: url(/fooL2.jpg);
&:hover { color: barL2; background-image: url(/barL2.jpg);}
}
- }
+ }
}''';
final generated1 = r'''.light {
@@ -456,11 +457,11 @@ void complexThis() {
.light .leftCol & {
color: fooL1;
&:hover { color: barL1; }
- }
+ }
.light .rightCol & {
color: fooL3;
&:hover { color: barL3; }
- }
+ }
}''';
final generated2 = r'''
« no previous file with comments | « test/mixin_test.dart ('k') | test/run.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698