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

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

Issue 295323002: Fix stack_trace tests on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « no previous file | pkg/stack_trace/test/trace_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/stack_trace/test/frame_test.dart
diff --git a/pkg/stack_trace/test/frame_test.dart b/pkg/stack_trace/test/frame_test.dart
index bbb905ad133f2374d8603e6e8b7ab519da930b07..b800b0cf4b48feb5584c4bd4716f2b846cdf1529 100644
--- a/pkg/stack_trace/test/frame_test.dart
+++ b/pkg/stack_trace/test/frame_test.dart
@@ -503,7 +503,7 @@ void main() {
test('returns the relative path for file URIs', () {
expect(new Frame.parseVM('#0 Foo (foo/bar.dart:0:0)').library,
- equals('foo/bar.dart'));
+ equals(path.join('foo', 'bar.dart')));
});
});
@@ -514,7 +514,7 @@ void main() {
'(http://dartlang.org/thing.dart:5:10)').location,
equals('http://dartlang.org/thing.dart 5:10'));
expect(new Frame.parseVM('#0 Foo (foo/bar.dart:1:2)').location,
- equals('foo/bar.dart 1:2'));
+ equals('${path.join('foo', 'bar.dart')} 1:2'));
});
});
« no previous file with comments | « no previous file | pkg/stack_trace/test/trace_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698