Index: tests/corelib/uri_test.dart |
diff --git a/tests/corelib/uri_test.dart b/tests/corelib/uri_test.dart |
index 0d671b74ad22b7285d8b5fe39fbcb2d247077cef..351c3b98d75af85df4f2db4615883fb06e31675d 100644 |
--- a/tests/corelib/uri_test.dart |
+++ b/tests/corelib/uri_test.dart |
@@ -5,7 +5,7 @@ |
library uriTest; |
import "package:expect/expect.dart"; |
-import 'dart:utf'; |
+import 'dart:convert'; |
testUri(String uri, bool isAbsolute) { |
Expect.equals(isAbsolute, Uri.parse(uri).isAbsolute); |
@@ -205,7 +205,7 @@ main() { |
// URI encode tests |
// Create a string with code point 0x10000 encoded as a surrogate pair. |
- var s = decodeUtf8([0xf0, 0x90, 0x80, 0x80]); |
+ var s = UTF8.decode([0xf0, 0x90, 0x80, 0x80]); |
Lasse Reichstein Nielsen
2013/08/27 09:22:42
Why not just "\u{10000}"? This is not a test if UT
floitsch
2013/08/27 09:33:58
It tests just below that these two strings are act
|
Expect.stringEquals("\u{10000}", s); |