Skip to content

Commit

Permalink
test(datasource/go): Remove go-source header from gitlab fixtures (#3…
Browse files Browse the repository at this point in the history
…2286)

Signed-off-by: malmor <[email protected]>
  • Loading branch information
malmor authored Nov 1, 2024
1 parent 9076cb4 commit 570a727
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<head>
<meta name="go-import"
content="my.custom.domain/group/subgroup-api/myrepo git https://my.custom.domain/group/subgroup-api/myrepo.git" />
<meta name="go-source"
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}" />
</head>

<body>go get https://my.custom.domain/group/subgroup-api/myrepo</body>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<html>
<head>
<meta name="go-import" content="my.custom.domain/golang/subgroup git https://my.custom.domain/golang/subgroup.git" />
<meta name="go-source"
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}" />
</head>

<body>go get https://my.custom.domain/golang/subgroup</body>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<html>
<head>
<meta name="go-import" content="my.custom.domain/golang/subgroup/myrepo git https://my.custom.domain/golang/subgroup/myrepo.git" />
<meta name="go-source"
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}" />
</head>

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

</html>
<html>
<head>
<meta name="go-import" content="my.custom.domain/golang/subgroup/myrepo git https://my.custom.domain/golang/subgroup/myrepo.git" />
</head>

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

</html>
2 changes: 0 additions & 2 deletions lib/modules/datasource/go/__fixtures__/go-get-gitlab-ee.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<html>
<head>
<meta name="go-import" content="my.custom.domain/golang/myrepo git https://my.custom.domain/golang/myrepo.git" />
<meta name="go-source"
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}" />
</head>

<body>go get https://my.custom.domain/golang/myrepo</body>
Expand Down
1 change: 0 additions & 1 deletion lib/modules/datasource/go/__fixtures__/go-get-gitlab.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="go-import" content="gitlab.com/group/subgroup git https://gitlab.com/group/subgroup/repo">
<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}">
</head>
<body>
go get https://gitlab.com/group/subgroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html>
<head>
<meta name="go-import" content="gitlab.com/example/module git https://gitlab.com/example/module.git">
<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}">
</head>
<body>go get https://gitlab.com/example/module</body>
</html>

0 comments on commit 570a727

Please sign in to comment.