Skip to content

Commit 570a727

Browse files
authoredNov 1, 2024··
test(datasource/go): Remove go-source header from gitlab fixtures (#32286)
Signed-off-by: malmor <62105800+malmor@users.noreply.github.com>
1 parent 9076cb4 commit 570a727

6 files changed

+8
-18
lines changed
 

‎lib/modules/datasource/go/__fixtures__/go-get-gitlab-ee-private-subgroup-api.html

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
<head>
44
<meta name="go-import"
55
content="my.custom.domain/group/subgroup-api/myrepo git https://my.custom.domain/group/subgroup-api/myrepo.git" />
6-
<meta name="go-source"
7-
content="my.custom.domain/group/subgroup-api/myrepo https://my.custom.domain/group/subgroup-api/myrepo https://my.custom.domain/group/subgroup-api/myrepo/-/tree/master{/dir} https://my.custom.domain/group/subgroup-api/myrepo/-/blob/master{/dir}/{file}#L{line}" />
86
</head>
97

108
<body>go get https://my.custom.domain/group/subgroup-api/myrepo</body>

‎lib/modules/datasource/go/__fixtures__/go-get-gitlab-ee-private-subgroup.html

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<html>
22
<head>
33
<meta name="go-import" content="my.custom.domain/golang/subgroup git https://my.custom.domain/golang/subgroup.git" />
4-
<meta name="go-source"
5-
content="my.custom.domain/golang/subgroup https://my.custom.domain/golang/subgroup https://my.custom.domain/golang/subgroup/-/tree/master{/dir} https://my.custom.domain/golang/subgroup/-/blob/master{/dir}/{file}#L{line}" />
64
</head>
75

86
<body>go get https://my.custom.domain/golang/subgroup</body>
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
<html>
2-
<head>
3-
<meta name="go-import" content="my.custom.domain/golang/subgroup/myrepo git https://my.custom.domain/golang/subgroup/myrepo.git" />
4-
<meta name="go-source"
5-
content="my.custom.domain/golang/subgroup/myrepo https://my.custom.domain/golang/subgroup/myrepo https://my.custom.domain/golang/subgroup/myrepo/-/tree/master{/dir} https://my.custom.domain/golang/subgroup/myrepo/-/blob/master{/dir}/{file}#L{line}" />
6-
</head>
7-
8-
<body>go get https://my.custom.domain/golang/subgroup/myrepo</body>
9-
10-
</html>
1+
<html>
2+
<head>
3+
<meta name="go-import" content="my.custom.domain/golang/subgroup/myrepo git https://my.custom.domain/golang/subgroup/myrepo.git" />
4+
</head>
5+
6+
<body>go get https://my.custom.domain/golang/subgroup/myrepo</body>
7+
8+
</html>

‎lib/modules/datasource/go/__fixtures__/go-get-gitlab-ee.html

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<html>
22
<head>
33
<meta name="go-import" content="my.custom.domain/golang/myrepo git https://my.custom.domain/golang/myrepo.git" />
4-
<meta name="go-source"
5-
content="my.custom.domain/golang/myrepo https://my.custom.domain/golang/myrepo https://my.custom.domain/golang/myrepo/-/tree/master{/dir} https://my.custom.domain/golang/myrepo/-/blob/master{/dir}/{file}#L{line}" />
64
</head>
75

86
<body>go get https://my.custom.domain/golang/myrepo</body>

‎lib/modules/datasource/go/__fixtures__/go-get-gitlab.html

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
55
<meta name="go-import" content="gitlab.com/group/subgroup git https://gitlab.com/group/subgroup/repo">
6-
<meta name="go-source" content="gitlab.com/group/subgroup https://gitlab.com/group/subgroup https://gitlab.com/group/subgroup/-/tree/master{/dir} https://gitlab.com/group/subgroup/-/blob/master{/dir}/{file}#L{line}">
76
</head>
87
<body>
98
go get https://gitlab.com/group/subgroup

‎lib/modules/datasource/go/__fixtures__/go-get-submodule-gitlab.html

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<html>
33
<head>
44
<meta name="go-import" content="gitlab.com/example/module git https://gitlab.com/example/module.git">
5-
<meta name="go-source" content="gitlab.com/example/module https://gitlab.com/example/module https://gitlab.com/example/module/-/tree/master{/dir} https://gitlab.com/example/module/-/blob/master{/dir}/{file}#L{line}">
65
</head>
76
<body>go get https://gitlab.com/example/module</body>
87
</html>

0 commit comments

Comments
 (0)
Please sign in to comment.