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

Unified Diff: test/declaration_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/debug_test.dart ('k') | test/error_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/declaration_test.dart
diff --git a/test/declaration_test.dart b/test/declaration_test.dart
index f01b804d23a656d58a317c2e184e0b7d80e20a06..8326a03faa67065086b687c3f645e4dde5f81d7b 100644
--- a/test/declaration_test.dart
+++ b/test/declaration_test.dart
@@ -4,7 +4,8 @@
library declaration_test;
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
+
import 'testing.dart';
void testSimpleTerms() {
@@ -342,7 +343,7 @@ void testMediaQueries() {
expect(prettyPrint(stylesheet), generated);
input = '''
- @media handheld and (min-width: 20em),
+ @media handheld and (min-width: 20em),
screen and (min-width: 20em) {
#id { color: red; }
.myclass { height: 20px; }
@@ -751,8 +752,8 @@ div {
Filter: FlipV;
Filter: Gray;
FILTER: Chroma(Color = #000000) Mask(Color=#00FF00);
- Filter: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40,
- FinishX=0, FinishY=0) Wave(Add=0, Freq=5, LightStrength=20,
+ Filter: Alpha(Opacity=100, FinishOpacity=0, Style=2, StartX=20, StartY=40,
+ FinishX=0, FinishY=0) Wave(Add=0, Freq=5, LightStrength=20,
Phase=220, Strength=10);
}
''';
@@ -762,8 +763,8 @@ div {
' Filter: FlipV;\n Filter: Gray;\n'
' FILTER: Chroma(Color = #000000) Mask(Color=#00FF00);\n'
' Filter: Alpha(Opacity=100, FinishOpacity=0, Style=2, '
- 'StartX=20, StartY=40, \n'
- ' FinishX=0, FinishY=0) Wave(Add=0, Freq=5, LightStrength=20, \n'
+ 'StartX=20, StartY=40,\n'
+ ' FinishX=0, FinishY=0) Wave(Add=0, Freq=5, LightStrength=20,\n'
' Phase=220, Strength=10);\n}';
stylesheet = parseCss(input3, errors: errors..clear(), opts: simpleOptions);
« no previous file with comments | « test/debug_test.dart ('k') | test/error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698