| Index: tests/gclient_test.py
|
| diff --git a/tests/gclient_test.py b/tests/gclient_test.py
|
| index ecbf0357b08062d21684338ba9be377a7f25a634..c136dc2711f1c124143929874b97193576a8289f 100755
|
| --- a/tests/gclient_test.py
|
| +++ b/tests/gclient_test.py
|
| @@ -181,6 +181,13 @@ class GclientTest(trial_dir.TestCase):
|
| pass
|
| return items
|
|
|
| + def testAutofix(self):
|
| + # Invalid urls causes pain when specifying requirements. Make sure it's
|
| + # auto-fixed.
|
| + d = gclient.Dependency(
|
| + None, 'name', 'proto://host/path/@revision', None, None,
|
| + None, '', True)
|
| + self.assertEquals('proto://host/path@revision', d.url)
|
|
|
| if __name__ == '__main__':
|
| logging.basicConfig(
|
|
|