blob: 324e4b85e77b6ed7ce0076d68eb9974fffe7a28e [file] [log] [blame]
This is a regression test for issue 60435:
Highlighting "net/http" shouldn't have any effect
on an import path that contains it as a substring,
such as httptest.
-- highlights.go --
package highlights
import (
"net/http" //@loc(httpImp, `"net/http"`)
"net/http/httptest" //@loc(httptestImp, `"net/http/httptest"`)
)
var _ = httptest.NewRequest
var _ = http.NewRequest //@loc(here, "http"), highlight(here, here, httpImp)