Mercurial > python-hglib
annotate test.py @ 205:2d0ec6097d78 2.6.1
util: fix handling of empty short option
This one was overlooked at 32e8d51ec16c. A dense form, '-sVALUE', shouldn't
be used if an empty value is specified.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 30 Apr 2018 15:43:29 +0900 |
parents | 37307caccf54 |
children |
rev | line source |
---|---|
76
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
1 #!/usr/bin/env python |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
2 |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
3 import nose |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
4 from tests import with_hg |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
5 |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
6 if __name__ == '__main__': |
37307caccf54
add a script to run tests with nose plugins loaded
Idan Kamara <idankk86@gmail.com>
parents:
diff
changeset
|
7 nose.main(addplugins=[with_hg.WithHgPlugin()]) |