diff options
| author | Jonathan Amsterdam <jba@google.com> | 2021-04-07 20:16:23 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2021-04-08 16:30:30 +0000 |
| commit | d025eb3c769441121bed31b2ad95f5ceea10ad4b (patch) | |
| tree | 6609eed1eb903662ca50f933d577d18167aadca5 /internal/postgres/stdlib_test.go | |
| parent | d189d9d19b2d6ec3358cc44d98c6354682aee052 (diff) | |
| download | go-x-pkgsite-d025eb3c769441121bed31b2ad95f5ceea10ad4b.tar.xz | |
internal/postgres,etc: finish MustInsertModule cleanup
Now that there are no callers of MustInsertModule, rename
MustInsertModuleLatest to MustInsertModule. We can
also remove MustInsertModuleLMV.
Change-Id: Ieb554ee32696c168be4cc0a14ecece9f4c6b91b4
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/308271
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to 'internal/postgres/stdlib_test.go')
| -rw-r--r-- | internal/postgres/stdlib_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/stdlib_test.go b/internal/postgres/stdlib_test.go index 32f41eca..ce5f2198 100644 --- a/internal/postgres/stdlib_test.go +++ b/internal/postgres/stdlib_test.go @@ -46,7 +46,7 @@ func TestGetStdlibPaths(t *testing.T) { for _, p := range m.Packages() { p.Imports = nil } - MustInsertModuleLatest(ctx, t, testDB, m) + MustInsertModule(ctx, t, testDB, m) } got, err := testDB.GetStdlibPathsWithSuffix(ctx, "json") |
