diff options
| author | Robert Findley <rfindley@google.com> | 2024-01-17 14:32:29 +0000 |
|---|---|---|
| committer | Robert Findley <rfindley@google.com> | 2024-01-17 15:48:23 +0000 |
| commit | d508d55489e083635bc48d5ed5ea56a98b50e611 (patch) | |
| tree | e0f9dac4af5fb1fe20250a849e188abe0245b785 /cmd | |
| parent | 542fc10fc2d055ab4604cc8346cde39c7248eadc (diff) | |
| download | go-x-website-d508d55489e083635bc48d5ed5ea56a98b50e611.tar.xz | |
Revert "cmd/golangorg/testdata: comment out playground snippet tests"
This reverts CL 556096.
Reason for revert: playground outage has been mitigated.
Change-Id: Ib8881259c5327e28f9842c7c7aa766340f204e98
Reviewed-on: https://go-review.googlesource.com/c/website/+/556275
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/golangorg/testdata/live.txt | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/cmd/golangorg/testdata/live.txt b/cmd/golangorg/testdata/live.txt index e1964c71..20470bee 100644 --- a/cmd/golangorg/testdata/live.txt +++ b/cmd/golangorg/testdata/live.txt @@ -47,24 +47,21 @@ postquery body=package main; import ("fmt"; "time"); func main() {fmt.Print("A"); time.Sleep(time.Second); fmt.Print("B")} body == {"Errors":"","Events":[{"Message":"A","Kind":"stdout","Delay":0},{"Message":"B","Kind":"stdout","Delay":1000000000}],"VetErrors":""} -# Assertions below are commented out due to -# golang/go#65081: snippets fail due to a GCP bug. - -# POST https://golang.org/share -# postbody -# package main -# body !contains UA- +POST https://golang.org/share +postbody + package main +body !contains UA- -# POST https://go.dev/_/share -# postbody -# package main -# body !contains UA- +POST https://go.dev/_/share +postbody + package main +body !contains UA- -# GET https://go.dev/play/p/MAohLsrz7JQ.go -# header Content-Type == text/plain; charset=utf-8 -# body !contains The Go Playground -# body !contains About the Playground -# body contains Hello, 世界 +GET https://go.dev/play/p/MAohLsrz7JQ.go +header Content-Type == text/plain; charset=utf-8 +body !contains The Go Playground +body !contains About the Playground +body contains Hello, 世界 GET https://go.dev/wiki/Comments body contains Go Wiki: Comments |
