blob: aedc2dbb0e89c20d57989ffc786343579484215e [file] [log] [blame]
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build go1.16
// +build go1.16
package main
import (
"net/http"
"testing"
"golang.org/x/website/internal/webtest"
)
func TestXHandler(t *testing.T) {
webtest.TestHandler(t, "testdata/x.txt", http.HandlerFunc(xHandler))
}