1 |
Author: zmedico |
2 |
Date: 2009-03-25 23:50:16 +0000 (Wed, 25 Mar 2009) |
3 |
New Revision: 13186 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/tests/dep/test_isvalidatom.py |
7 |
Log: |
8 |
Add test case for consecutive hyphens. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/tests/dep/test_isvalidatom.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/tests/dep/test_isvalidatom.py 2009-03-25 23:46:10 UTC (rev 13185) |
14 |
+++ main/trunk/pym/portage/tests/dep/test_isvalidatom.py 2009-03-25 23:50:16 UTC (rev 13186) |
15 |
@@ -64,6 +64,9 @@ |
16 |
( "=null/portage-2.1*", True ), |
17 |
( "=foo/bar-123-1", True ), |
18 |
( "=foo/bar-123-1-r1", True ), |
19 |
+ ( "=foo/bar--baz-1-r1", False ), |
20 |
+ ( "=foo/bar-baz--1-r1", False ), |
21 |
+ ( "=foo/bar-baz-1--r1", False ), |
22 |
] |
23 |
|
24 |
for test in tests: |