Mercurial > public > mercurial-scm > hg
diff tests/test-url.py @ 26421:4b0fc75f9403
urls: bulk-change primary website URLs
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 30 Sep 2015 15:43:49 -0500 |
parents | 56b1f39dd0c1 |
children | 2903558a6991 |
line wrap: on
line diff
--- a/tests/test-url.py Wed Sep 30 15:31:07 2015 -0500 +++ b/tests/test-url.py Wed Sep 30 15:43:49 2015 -0500 @@ -99,8 +99,8 @@ >>> url('://192.0.2.16:80/') <url path: '://192.0.2.16:80/'> - >>> url('http://mercurial.selenic.com') - <url scheme: 'http', host: 'mercurial.selenic.com'> + >>> url('https://mercurial-scm.org') + <url scheme: 'https', host: 'mercurial-scm.org'> >>> url('/foo') <url path: '/foo'> >>> url('bundle:/foo') @@ -174,7 +174,7 @@ Non-localhost file URL: - >>> u = url('file://mercurial.selenic.com/foo') + >>> u = url('file://mercurial-scm.org/foo') Traceback (most recent call last): File "<stdin>", line 1, in ? Abort: file:// URLs can only refer to localhost