]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix module replace flag parsed bug
authorBaokun Lee <nototon@gmail.com>
Fri, 13 Jul 2018 20:17:19 +0000 (04:17 +0800)
committerBryan C. Mills <bcmills@google.com>
Fri, 13 Jul 2018 22:06:20 +0000 (22:06 +0000)
commit00f32fbe7ab053f67e255d1350a34e05b07a6ad6
tree490fa1efa7c6237566b7c17e962ada12cc1c399e
parent5e60479ba4c351182838d2de2d8a8883d6b42c09
cmd/go: fix module replace flag parsed bug

In CL 122404, we change -replace syntax from => to =.
And we also need to change this and the tests.

Fixes golang/go#26373.

Change-Id: I2d4e85e10c1578540cc7673b93d849270940d776
Reviewed-on: https://go-review.googlesource.com/123778
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/modcmd/mod.go
src/cmd/go/mod_test.go