diff options
| author | Julie Qiu <julie@golang.org> | 2020-10-25 23:08:36 -0400 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2020-10-26 13:05:58 +0000 |
| commit | 3d386cf767db883bd6701692d79caedc6a148427 (patch) | |
| tree | cc604d0df1616e4407857e8f412c8f66415abb85 /internal/testing/sample | |
| parent | 1c1c6660d20d1c687df6d5683129edce797d36e5 (diff) | |
| download | go-x-pkgsite-3d386cf767db883bd6701692d79caedc6a148427.tar.xz | |
internal/testing/sample: rename LegacyDefaultModule to DefaultModule
For golang/go#39629
Change-Id: I9f33c8fb0dc2573f4c6332f6e1beb8acf92ac098
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/265006
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/testing/sample')
| -rw-r--r-- | internal/testing/sample/legacy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testing/sample/legacy.go b/internal/testing/sample/legacy.go index 105f5ba3..3c79d255 100644 --- a/internal/testing/sample/legacy.go +++ b/internal/testing/sample/legacy.go @@ -12,7 +12,7 @@ import ( "golang.org/x/pkgsite/internal" ) -func LegacyDefaultModule() *internal.Module { +func DefaultModule() *internal.Module { fp := constructFullPath(ModulePath, Suffix) return AddPackage(Module(ModulePath, VersionString), UnitForPackage(fp, ModulePath, VersionString, path.Base(fp), true)) } |
