blob: f4fb6a8c1b529fd06701073363030a7d3c96732b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# https://golang.org/issue/45932: "indirect" comments missing spaces
# should not be corrupted when the comment is removed.
go mod tidy
cmp go.mod go.mod.direct
-- go.mod --
module example.net/m
go 1.16
require example.net/x v0.1.0 //indirect
replace example.net/x v0.1.0 => ./x
-- go.mod.direct --
module example.net/m
go 1.16
require example.net/x v0.1.0
replace example.net/x v0.1.0 => ./x
-- m.go --
package m
import _ "example.net/x"
-- x/go.mod --
module example.net/x
go 1.16
-- x/x.go --
package x
|