Skip to content

Commit d508d55

Browse files
committed
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 <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 542fc10 commit d508d55

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

cmd/golangorg/testdata/live.txt

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,21 @@ postquery
4747
body=package main; import ("fmt"; "time"); func main() {fmt.Print("A"); time.Sleep(time.Second); fmt.Print("B")}
4848
body == {"Errors":"","Events":[{"Message":"A","Kind":"stdout","Delay":0},{"Message":"B","Kind":"stdout","Delay":1000000000}],"VetErrors":""}
4949

50-
# Assertions below are commented out due to
51-
# golang/go#65081: snippets fail due to a GCP bug.
52-
53-
# POST https://golang.org/share
54-
# postbody
55-
# package main
56-
# body !contains UA-
50+
POST https://golang.org/share
51+
postbody
52+
package main
53+
body !contains UA-
5754

58-
# POST https://go.dev/_/share
59-
# postbody
60-
# package main
61-
# body !contains UA-
55+
POST https://go.dev/_/share
56+
postbody
57+
package main
58+
body !contains UA-
6259

63-
# GET https://go.dev/play/p/MAohLsrz7JQ.go
64-
# header Content-Type == text/plain; charset=utf-8
65-
# body !contains The Go Playground
66-
# body !contains About the Playground
67-
# body contains Hello, 世界
60+
GET https://go.dev/play/p/MAohLsrz7JQ.go
61+
header Content-Type == text/plain; charset=utf-8
62+
body !contains The Go Playground
63+
body !contains About the Playground
64+
body contains Hello, 世界
6865

6966
GET https://go.dev/wiki/Comments
7067
body contains Go Wiki: Comments

0 commit comments

Comments
 (0)