cmd/golangorg: remove /search endpoint case in TestLiveServer
The /search endpoint was removed in CL 293412 and CL 293427.
Change-Id: I0f11a27bad63f68f211b12dcb77e8ace0daadfdc
Reviewed-on: https://go-review.googlesource.com/c/website/+/299369
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
diff --git a/cmd/golangorg/regtest_test.go b/cmd/golangorg/regtest_test.go
index 28c40f1..9b7b48d 100644
--- a/cmd/golangorg/regtest_test.go
+++ b/cmd/golangorg/regtest_test.go
@@ -93,11 +93,6 @@
StatusCode: 302,
},
{
- Message: "incorrect search result - broken index?",
- Path: "/search?q=IsDir",
- Substring: "src/os/types.go",
- },
- {
Path: "/compile",
PostBody: "body=" + url.QueryEscape("package main; func main() { print(6*7); }"),
Regexp: `^{"compile_errors":"","output":"42"}$`,