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

Unified Diff: pkg/csslib/test/compiler_test.dart

Issue 22909059: Some more removals of dart:utf. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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: pkg/csslib/test/compiler_test.dart
diff --git a/pkg/csslib/test/compiler_test.dart b/pkg/csslib/test/compiler_test.dart
index ee37f299ed0921e97ea0f66ef45cbf820341e4f7..f545a6d308bfaee26e444c8ca080c72544100aed 100644
--- a/pkg/csslib/test/compiler_test.dart
+++ b/pkg/csslib/test/compiler_test.dart
@@ -4,7 +4,7 @@
library compiler_test;
-import 'dart:utf';
+import 'dart:convert';
import 'package:unittest/unittest.dart';
import 'package:csslib/parser.dart';
import 'package:csslib/visitor.dart';
@@ -521,7 +521,7 @@ void testArrayOfChars() {
'color : #00F578; border-color: #878787;'
'}]]>';
- var stylesheet = parse(encodeUtf8(input), errors: errors);
+ var stylesheet = parse(UTF8.encode(input), errors: errors);
expect(stylesheet != null, true);
expect(errors.isEmpty, true, reason: errors.toString());

Powered by Google App Engine
This is Rietveld 408576698