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

Unified Diff: tests/gclient_utils_test.py

Issue 402105: gclient: fix bug in parsing ssh urls (Closed)
Patch Set: Created 11 years, 1 month 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 | « gclient_utils.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_utils_test.py
diff --git a/tests/gclient_utils_test.py b/tests/gclient_utils_test.py
index d1150346bdf0390fa59bbc000b0c49af9302fe2b..1f019628161498a3e55a4a468ad6aceab178693a 100644
--- a/tests/gclient_utils_test.py
+++ b/tests/gclient_utils_test.py
@@ -70,6 +70,10 @@ class SplitUrlRevisionTestCase(SuperMoxTestBase):
out_url, out_rev = gclient_utils.SplitUrlRevision("%s@%s" % (url, rev))
self.assertEquals(out_rev, rev)
self.assertEquals(out_url, url)
+ rev = "test-stable"
+ out_url, out_rev = gclient_utils.SplitUrlRevision("%s@%s" % (url, rev))
+ self.assertEquals(out_rev, rev)
+ self.assertEquals(out_url, url)
def testSVNUrl(self):
url = "svn://example.com/test"
« no previous file with comments | « gclient_utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698