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

Unified Diff: pkg/stack_trace/test/trace_test.dart

Issue 14753005: Enable parsing of IPv6 form addresse (see rfc2373 and rfc2732). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix tets. Created 7 years, 8 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 | « pkg/stack_trace/test/frame_test.dart ('k') | samples/swarm/swarm_ui_lib/util/Uri.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/stack_trace/test/trace_test.dart
diff --git a/pkg/stack_trace/test/trace_test.dart b/pkg/stack_trace/test/trace_test.dart
index cbbf90bd1f1544239e413337e88862d9c8445c44..d3fa56ea61b0344466de470f698f3ecfe9d621d3 100644
--- a/pkg/stack_trace/test/trace_test.dart
+++ b/pkg/stack_trace/test/trace_test.dart
@@ -41,10 +41,10 @@ void main() {
''');
expect(trace.frames[0].uri,
- equals(new Uri.fromString("file:///home/nweiz/code/stuff.dart")));
- expect(trace.frames[1].uri, equals(new Uri.fromString("dart:async")));
+ equals(Uri.parse("file:///home/nweiz/code/stuff.dart")));
+ expect(trace.frames[1].uri, equals(Uri.parse("dart:async")));
expect(trace.frames[2].uri,
- equals(new Uri.fromString("http://pub.dartlang.org/thing.dart")));
+ equals(Uri.parse("http://pub.dartlang.org/thing.dart")));
});
test('parses a real stack trace correctly', () {
« no previous file with comments | « pkg/stack_trace/test/frame_test.dart ('k') | samples/swarm/swarm_ui_lib/util/Uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698