diff options
| author | Dmitri Shuralyov <dmitshur@golang.org> | 2023-05-23 13:50:55 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-08-08 16:32:18 +0000 |
| commit | 47aa77ee5c8e76cb4901fd5877cc2abd39497bd7 (patch) | |
| tree | f6f86f5794b21f61dc7d035c44f045d64e53ac36 /cmd | |
| parent | 5872eae16bd2c34bdcad5e876a6d5979a1f15956 (diff) | |
| download | go-x-website-47aa77ee5c8e76cb4901fd5877cc2abd39497bd7.tar.xz | |
cmd/golangorg, internal/history: add test case for Go 1.21.0
Go 1.21.0 is the first major Go release that explicitly includes the
trailing ".0" version component. Add a test case covering changes to
the history.Version type and the template that uses it.
For golang/go#57631.
Change-Id: I97581b650604c25b6996305ecf4ad9d883cd85ba
Reviewed-on: https://go-review.googlesource.com/c/website/+/497498
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/golangorg/testdata/release.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/cmd/golangorg/testdata/release.txt b/cmd/golangorg/testdata/release.txt index 79b443ae..036fc217 100644 --- a/cmd/golangorg/testdata/release.txt +++ b/cmd/golangorg/testdata/release.txt @@ -1,10 +1,16 @@ GET https://go.dev/doc/devel/release header content-type == text/html; charset=utf-8 trimbody contains - <h2 id="go1.19">go1.19 (released 2022-08-02)</h2> + <h2 id="go1.21.0">go1.21.0 (released 2023-08-08)</h2> <p> - Go 1.19 is a major release of Go. - Read the <a href="/doc/go1.19">Go 1.19 Release Notes</a> for more information. + Go 1.21.0 is a major release of Go. + Read the <a href="/doc/go1.21">Go 1.21 Release Notes</a> for more information. + </p> +trimbody contains + <h2 id="go1.20">go1.20 (released 2023-02-01)</h2> + <p> + Go 1.20 is a major release of Go. + Read the <a href="/doc/go1.20">Go 1.20 Release Notes</a> for more information. </p> trimbody contains <h2 id="go1.18">go1.18 (released 2022-03-15)</h2> |
