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

Unified Diff: tests/standalone/io/path_test.dart

Issue 10981026: Convert raw strings to new syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « tests/language/string_interpolate_test.dart ('k') | tests/standalone/status_expression_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/path_test.dart
===================================================================
--- tests/standalone/io/path_test.dart (revision 12867)
+++ tests/standalone/io/path_test.dart (working copy)
@@ -56,7 +56,7 @@
// Test the special path cleaning operations on the Windows platform.
if (Platform.operatingSystem == 'windows') {
- testGetters(new Path.fromNative(@"c:\foo\bar\fisk.hest"),
+ testGetters(new Path.fromNative(r"c:\foo\bar\fisk.hest"),
['/c:/foo/bar', 'fisk.hest', 'fisk', 'hest'],
'absolute canonical');
testGetters(new Path.fromNative("\\foo\\bar\\"),
@@ -65,21 +65,21 @@
testGetters(new Path.fromNative("\\foo\\bar\\hest"),
['/foo/bar', 'hest', 'hest', ''],
'absolute canonical');
- testGetters(new Path.fromNative(@"foo/bar\hest/.fisk"),
+ testGetters(new Path.fromNative(r"foo/bar\hest/.fisk"),
['foo/bar/hest', '.fisk', '', 'fisk'],
'canonical');
- testGetters(new Path.fromNative(@"foo//bar\\hest/\/.fisk."),
+ testGetters(new Path.fromNative(r"foo//bar\\hest/\/.fisk."),
['foo//bar//hest', '.fisk.', '.fisk', ''],
'');
} else {
// Make sure that backslashes are uninterpreted on other platforms.
- testGetters(new Path.fromNative(@"/foo\bar/bif/fisk.hest"),
+ testGetters(new Path.fromNative(r"/foo\bar/bif/fisk.hest"),
[@'/foo\bar/bif', 'fisk.hest', 'fisk', 'hest'],
'absolute canonical');
- testGetters(new Path.fromNative(@"//foo\bar///bif////fisk.hest"),
+ testGetters(new Path.fromNative(r"//foo\bar///bif////fisk.hest"),
[@'//foo\bar///bif', 'fisk.hest', 'fisk', 'hest'],
'absolute');
- testGetters(new Path.fromNative(@"/foo\ bar/bif/gule\ fisk.hest"),
+ testGetters(new Path.fromNative(r"/foo\ bar/bif/gule\ fisk.hest"),
[@'/foo\ bar/bif', @'gule\ fisk.hest', @'gule\ fisk', 'hest'],
'absolute canonical');
}
« no previous file with comments | « tests/language/string_interpolate_test.dart ('k') | tests/standalone/status_expression_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698