@@ -2,17 +2,18 @@ import go
2
2
3
3
from string path
4
4
where
5
- (
6
- path = "github.com/nonexistent/v2/test" or // OK
7
- path = "github.com/nonexistent/test" or // OK
8
- path = "github.com/nonexistent//v//test" or // NOT OK
9
- path = "github.com/nonexistent//v/test" or // NOT OK
10
- path = "github.com/nonexistent/v//test" or // NOT OK
11
- path = "github.com/nonexistent/v/asd/v2/test" or // NOT OK
12
- path = "github.com/nonexistent/v/test" or // NOT OK
13
- path = "github.com/nonexistent//v2//test" or // NOT OK
14
- path = "github.com/nonexistent//v2/test" or // NOT OK
15
- path = "github.com/nonexistent/v2//test" // NOT OK
16
- ) and
5
+ path =
6
+ [
7
+ "github.com/nonexistent/v2/test" , // OK
8
+ "github.com/nonexistent/test" , // OK
9
+ "github.com/nonexistent//v//test" , // NOT OK
10
+ "github.com/nonexistent//v/test" , // NOT OK
11
+ "github.com/nonexistent/v//test" , // NOT OK
12
+ "github.com/nonexistent/v/asd/v2/test" , // NOT OK
13
+ "github.com/nonexistent/v/test" , // NOT OK
14
+ "github.com/nonexistent//v2//test" , // NOT OK
15
+ "github.com/nonexistent//v2/test" , // NOT OK
16
+ "github.com/nonexistent/v2//test" // NOT OK
17
+ ] and
17
18
path = package ( "github.com/nonexistent" , "test" )
18
19
select path
0 commit comments