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

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

Issue 10668041: Make Path implement (extend) Hashable, and make Path.append to an empty path work right. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add tests. Created 8 years, 6 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 | « runtime/bin/path_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/path_test.dart
diff --git a/tests/standalone/io/path_test.dart b/tests/standalone/io/path_test.dart
index 16afb4ca7e04ab57a79c7b3da747d42b44ae8042..0e577e710196084a94f2fba231b8e15a9100730b 100644
--- a/tests/standalone/io/path_test.dart
+++ b/tests/standalone/io/path_test.dart
@@ -157,6 +157,8 @@ void testJoinAppend() {
testAppend('a/b/', 'cd', 'a/b/cd');
testAppend('.', '..', './..');
testAppend('a/b', '/c/d', 'a/b//c/d');
+ testAppend('', 'foo/bar', 'foo/bar');
+ testAppend('/foo', '', '/foo/');
// .join can only join a relative path to a path.
// It cannot join an absolute path to a path.
« no previous file with comments | « runtime/bin/path_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698